Class RepositoryPackage
Represents a package containing exported repository entities. This package can be serialized to a file and then restored on another repository.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services.Export
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class RepositoryPackage : IExtensibleDataObject
  Constructors
RepositoryPackage()
Initializes an empty instance and populates Version property with the current repository version.
Declaration
public RepositoryPackage()
  Properties
AlertHandlerTypes
Gets collection of alert handler types.
Declaration
public Collection<AlertHandlerType> AlertHandlerTypes { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<AlertHandlerType> | 
AlertTypes
Gets collection of alert types.
Declaration
public Collection<AlertTypeDefinition> AlertTypes { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<AlertTypeDefinition> | 
AuthorizationGroups
Gets collection of authorization groups.
Declaration
public Collection<AuthorizationGroupDefinition> AuthorizationGroups { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<AuthorizationGroupDefinition> | 
Behaviors
Gets collection of public endpoint and service behaviors.
Declaration
public Collection<Behavior> Behaviors { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<Behavior> | 
Bindings
Gets collection of public bindings.
Declaration
public Collection<Binding> Bindings { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<Binding> | 
Created
Gets or sets the date and time when package was created.
Declaration
public DateTime Created { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DateTime | 
CustomAttributeTypes
Gets collection of custom attribute types.
Declaration
public Collection<CustomAttributeType> CustomAttributeTypes { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<CustomAttributeType> | 
CustomEntities
Gets collection of custom entities.
Declaration
public Collection<CustomEntityDefinition> CustomEntities { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<CustomEntityDefinition> | 
ExtensionData
Gets or sets ExtensionDataObject that enables serialization round-trips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ExtensionDataObject | 
Files
Gets collection of file attachments.
Declaration
public Collection<File> Files { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<File> | 
Folders
Gets collection of folders.
Declaration
public Collection<Folder> Folders { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<Folder> | 
Identities
Gets collection of public (shared) identities.
Declaration
public Collection<Identity> Identities { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<Identity> | 
Keys
Gets collection of the external identifiers referenced by the contained entities.
Declaration
public Collection<GlobalIdentifier> Keys { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<GlobalIdentifier> | 
NodeAddresses
Gets collection of node base addresses used in exported virtual services.
Declaration
public Collection<NodeAddress> NodeAddresses { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<NodeAddress> | 
Products
Gets collection of products.
Declaration
public Collection<ProductDefinition> Products { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<ProductDefinition> | 
RouterTypes
Gets collection of router types.
Declaration
public Collection<RouterType> RouterTypes { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<RouterType> | 
Rules
Gets collection of authorization rules.
Declaration
public AuthorizationRulesCollection Rules { get; }
  Property Value
| Type | Description | 
|---|---|
| AuthorizationRulesCollection | 
ServiceAgreements
Gets collection of service agreements.
Declaration
public Collection<ServiceAgreementDefinition> ServiceAgreements { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<ServiceAgreementDefinition> | 
Services
Gets collection of services.
Declaration
public Collection<ServiceDefinition> Services { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<ServiceDefinition> | 
ServiceVersions
Gets collection of the service versions with related entities.
Declaration
public Collection<ServiceVersionPackage> ServiceVersions { get; }
  Property Value
| Type | Description | 
|---|---|
| Collection<ServiceVersionPackage> | 
Version
Gets or sets the version number of the repository where package has been created.
Declaration
public string Version { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Methods
GetPackageInfo()
Returns the basic information about a repository import package and its content.
Declaration
public RepositoryPackageInfo GetPackageInfo()
  Returns
| Type | Description | 
|---|---|
| RepositoryPackageInfo | An object containing the basic information about a repository import package and its content.  |