Class EndpointGroupDefinition
Represents an outbound endpoint group definition. This class is a part of service definition structure used for creating or updating service version with single service call.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public class EndpointGroupDefinition : EndpointGroup, IValidator, IExtensibleDataObject, IEquatable<EndpointGroup>
Constructors
EndpointGroupDefinition()
Instantiates an empty outbound endpoint group definition.
Declaration
public EndpointGroupDefinition()
EndpointGroupDefinition(EndpointGroup)
Initializes new instance from provided outbound endpoint group.
Declaration
public EndpointGroupDefinition(EndpointGroup endpointGroup)
Parameters
Type | Name | Description |
---|---|---|
EndpointGroup | endpointGroup | Outbound endpoint group to be initialized from. |
Properties
Endpoints
Gets collection of the outbound endpoints.
Declaration
public Collection<EndpointDefinition> Endpoints { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<EndpointDefinition> |
IsPopulated
Gets or sets a flag indicating that endpoint group properties are populated.
Declaration
public bool IsPopulated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
For "create" operations this property must be True. For "update" and "delete" operations only entity identifier is required. If entity is not populated then "update" operation on the entity properties is not performed, but children entities are processed as usual.
Router
Gets or sets the Router associated with the endpoint group.
Declaration
public RouterType Router { get; set; }
Property Value
Type | Description |
---|---|
RouterType |
Methods
CopyFrom(EndpointGroup)
Populate current instance from provided endpoint group.
Declaration
public void CopyFrom(EndpointGroup endpointGroup)
Parameters
Type | Name | Description |
---|---|---|
EndpointGroup | endpointGroup | Endpoint group to be populated from. |