C# Класс Universe.Modules.Archivers.InventoryArchiveWriteRequest

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_archiveWriter Universe.Framework.Serialization.TarArchiveWriter
m_assetGatherer Universe.Framework.SceneInfo.UuidGatherer
m_assetUuids AssetType>.Dictionary
m_assetsToAdd List
m_defaultFolderToSave Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
m_id System.Guid
m_registry IRegistryCore
m_userUuids int>.Dictionary

Открытые методы

Метод Описание
CreateArchiveFolderName ( InventoryFolderBase folder ) : string

Create the archive name for a particular folder.

CreateArchiveFolderName ( string name, UUID id ) : string

Create an archive folder name given its constituent components

CreateArchiveItemName ( InventoryItemBase item ) : string

Create the archive name for a particular item.

CreateArchiveItemName ( string name, UUID id ) : string

Create an archive item name given its constituent components

CreateControlFile ( bool saveAssets ) : string

Create the control file for a 0.1 version archive

Execute ( ) : void

Execute the inventory write request

InventoryArchiveWriteRequest ( System.Guid id, InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, Stream saveStream, bool UseAssets, InventoryFolderBase folderBase, List assetsToAdd, string checkPermissions ) : System

Constructor

InventoryArchiveWriteRequest ( System.Guid id, InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, string savePath, bool UseAssets, string checkPermissions ) : System

Constructor

Защищенные методы

Метод Описание
ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
SaveInvFolder ( InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void

Save an inventory folder

SaveInvItem ( InventoryItemBase inventoryItem, string path ) : void
SaveUsers ( ) : void

Save information for the users that we've collected.

Приватные методы

Метод Описание
CanUserArchiveObject ( UUID UserID, InventoryItemBase InvItem ) : bool

Checks whether the user has permission to export an inventory item to an IAR.

Описание методов

CreateArchiveFolderName() публичный статический Метод

Create the archive name for a particular folder.
public static CreateArchiveFolderName ( InventoryFolderBase folder ) : string
folder Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
Результат string

CreateArchiveFolderName() публичный статический Метод

Create an archive folder name given its constituent components
public static CreateArchiveFolderName ( string name, UUID id ) : string
name string
id UUID
Результат string

CreateArchiveItemName() публичный статический Метод

Create the archive name for a particular item.
public static CreateArchiveItemName ( InventoryItemBase item ) : string
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
Результат string

CreateArchiveItemName() публичный статический Метод

Create an archive item name given its constituent components
public static CreateArchiveItemName ( string name, UUID id ) : string
name string
id UUID
Результат string

CreateControlFile() публичный статический Метод

Create the control file for a 0.1 version archive
public static CreateControlFile ( bool saveAssets ) : string
saveAssets bool
Результат string

Execute() публичный Метод

Execute the inventory write request
public Execute ( ) : void
Результат void

InventoryArchiveWriteRequest() публичный Метод

Constructor
public InventoryArchiveWriteRequest ( System.Guid id, InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, Stream saveStream, bool UseAssets, InventoryFolderBase folderBase, List assetsToAdd, string checkPermissions ) : System
id System.Guid
module InventoryArchiverModule
registry IRegistryCore
userInfo Universe.Framework.Services.UserAccount
invPath string
saveStream Stream
UseAssets bool
folderBase Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
assetsToAdd List
checkPermissions string
Результат System

InventoryArchiveWriteRequest() публичный Метод

Constructor
public InventoryArchiveWriteRequest ( System.Guid id, InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, string savePath, bool UseAssets, string checkPermissions ) : System
id System.Guid
module InventoryArchiverModule
registry IRegistryCore
userInfo Universe.Framework.Services.UserAccount
invPath string
savePath string
UseAssets bool
checkPermissions string
Результат System

ReceivedAllAssets() защищенный Метод

protected ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
assetsFoundUuids ICollection
assetsNotFoundUuids ICollection
Результат void

SaveInvFolder() защищенный Метод

Save an inventory folder
protected SaveInvFolder ( InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void
inventoryFolder Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase The inventory folder to save
path string The path to which the folder should be saved
saveThisFolderItself bool If true, save this folder itself. If false, only saves contents
Результат void

SaveInvItem() защищенный Метод

protected SaveInvItem ( InventoryItemBase inventoryItem, string path ) : void
inventoryItem Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
path string
Результат void

SaveUsers() защищенный Метод

Save information for the users that we've collected.
protected SaveUsers ( ) : void
Результат void

Описание свойств

m_archiveWriter защищенное свойство

protected TarArchiveWriter,Universe.Framework.Serialization m_archiveWriter
Результат Universe.Framework.Serialization.TarArchiveWriter

m_assetGatherer защищенное свойство

protected UuidGatherer,Universe.Framework.SceneInfo m_assetGatherer
Результат Universe.Framework.SceneInfo.UuidGatherer

m_assetUuids защищенное свойство

protected Dictionary m_assetUuids
Результат AssetType>.Dictionary

m_assetsToAdd защищенное свойство

protected List m_assetsToAdd
Результат List

m_defaultFolderToSave защищенное свойство

protected InventoryFolderBase,Universe.Framework.Services.ClassHelpers.Inventory m_defaultFolderToSave
Результат Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase

m_id защищенное свойство

protected Guid,System m_id
Результат System.Guid

m_registry защищенное свойство

protected IRegistryCore m_registry
Результат IRegistryCore

m_userUuids защищенное свойство

protected Dictionary m_userUuids
Результат int>.Dictionary