Class RepositoryPackage
Represents a package containing exported repository entities. This package can be serialized to a file and then restored on another repository.
Inheritance
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 |
---|---|
System.Collections.ObjectModel.Collection<AlertHandlerType> |
AlertTypes
Gets collection of alert types.
Declaration
public Collection<AlertTypeDefinition> AlertTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<AlertTypeDefinition> |
AuthorizationGroups
Gets collection of authorization groups.
Declaration
public Collection<AuthorizationGroupDefinition> AuthorizationGroups { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<AuthorizationGroupDefinition> |
Behaviors
Gets collection of public endpoint and service behaviors.
Declaration
public Collection<Behavior> Behaviors { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Behavior> |
Bindings
Gets collection of public bindings.
Declaration
public Collection<Binding> Bindings { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Binding> |
Created
Gets or sets the date and time when package was created.
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
CustomAttributeTypes
Gets collection of custom attribute types.
Declaration
public Collection<CustomAttributeType> CustomAttributeTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<CustomAttributeType> |
CustomEntities
Gets collection of custom entities.
Declaration
public Collection<CustomEntityDefinition> CustomEntities { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<CustomEntityDefinition> |
ExtensionData
Gets or sets System.Runtime.Serialization.ExtensionDataObject that enables serialization round-trips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.Serialization.ExtensionDataObject |
Files
Gets collection of file attachments.
Declaration
public Collection<File> Files { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<File> |
Folders
Gets collection of folders.
Declaration
public Collection<Folder> Folders { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Folder> |
Identities
Gets collection of public (shared) identities.
Declaration
public Collection<Identity> Identities { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Identity> |
Keys
Gets collection of the external identifiers referenced by the contained entities.
Declaration
public Collection<GlobalIdentifier> Keys { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<GlobalIdentifier> |
NodeAddresses
Gets collection of node base addresses used in exported virtual services.
Declaration
public Collection<NodeAddress> NodeAddresses { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<NodeAddress> |
Products
Gets collection of products.
Declaration
public Collection<ProductDefinition> Products { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<ProductDefinition> |
RouterTypes
Gets collection of router types.
Declaration
public Collection<RouterType> RouterTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.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 |
---|---|
System.Collections.ObjectModel.Collection<ServiceAgreementDefinition> |
Services
Gets collection of services.
Declaration
public Collection<ServiceDefinition> Services { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<ServiceDefinition> |
ServiceVersions
Gets collection of the service versions with related entities.
Declaration
public Collection<ServiceVersionPackage> ServiceVersions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.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 |
---|---|
System.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. |