Class Vault
Defines a Vault where Media is stored
Inheritance
System.Object
Vault
Implements
IItem<System.Int32>
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class Vault : Object, IItem<int>
Constructors
Vault()
Initializes a new instance of the Vault class.
Declaration
public Vault()
Vault(Vault)
Initializes a new instance of the Vault class.
Declaration
public Vault(Vault vault)
Parameters
Type | Name | Description |
---|---|---|
Vault | vault |
Properties
AccessList
Get/Sets the AccessList of the Vault
Declaration
public List<VaultAccess> AccessList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<VaultAccess> |
CurrentUserRole
Get/Sets the CurrentUserRole of the Vault
Declaration
public VaultRoles CurrentUserRole { get; set; }
Property Value
Type | Description |
---|---|
VaultRoles | The current user role |
Remarks
Only populated if the CurrentUserRole is true
DeletedDate
Date when the Vault is marked for delete
Declaration
public Nullable<DateTime> DeletedDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Description
Get/Sets the Description of the Vault
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Get/Sets the Id of the Vault
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MetadataDefinitions
Get/Sets the MetadataDefinitions of the Vault
Declaration
public List<VaultMetadataDefinition> MetadataDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<VaultMetadataDefinition> |
Name
Get/Sets the Name of the Vault
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Settings
Keeps track of custom settings for the vault
Declaration
public VaultSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
VaultSettings |