Class NodeDefinition
Represents a "Sentinet" node. This class is a part of node definition structure used for creating or updating nodes with single service call.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class NodeDefinition : Node, IValidator, IExtensibleDataObject, IEquatable<Node>, IFolderEntity
Constructors
NodeDefinition()
Instantiates an empty node definition.
Declaration
public NodeDefinition()
NodeDefinition(Node)
Initializes new instance from provided node.
Declaration
public NodeDefinition(Node node)
Parameters
Type | Name | Description |
---|---|---|
Node | node | Node to be initialized from. |
Properties
BaseAddresses
Gets collection of the node's base addresses.
Declaration
public Collection<NodeAddress> BaseAddresses { get; }
Property Value
Type | Description |
---|---|
Collection<NodeAddress> |
Identities
Gets collection of the node's identities.
Declaration
public Collection<IdentityDefinitionBase> Identities { get; }
Property Value
Type | Description |
---|---|
Collection<IdentityDefinitionBase> |
Instances
Gets collection of registered node instances. This collection and its items cannot be updated.
Declaration
public Collection<NodeInstance> Instances { get; }
Property Value
Type | Description |
---|---|
Collection<NodeInstance> |
IsPopulated
Gets or sets a flag indicating that node's properties are populated. False indicates that entity itself is not changed and child entities need to be checked instead.
Declaration
public bool IsPopulated { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsRegistered
Gets flag indicating that node has been successfully installed, configured, and registered on the host machine.
Declaration
public bool IsRegistered { get; }
Property Value
Type | Description |
---|---|
Boolean |
TrustedIssuers
Gets collection of security token issuers that node trusts.
Declaration
public Collection<Issuer> TrustedIssuers { get; }
Property Value
Type | Description |
---|---|
Collection<Issuer> |
Methods
CopyFrom(Node)
Populates current instance from provided node.
Declaration
public void CopyFrom(Node node)
Parameters
Type | Name | Description |
---|---|---|
Node | node | Node to be populated from. |