C# 클래스 Microsoft.Protocols.TestSuites.SharedAdapter.DataElementUtils

This class is used to build data element list or parse the data element list.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CellSecondExGuid System.Guid
RootExGuid System.Guid
SchemaGuid System.Guid

공개 메소드들

메소드 설명
AnalyzeStorageIndexDataElement ( List dataElements, ExGuid storageIndexExGuid, ExGuid &manifestMappingGuid, ExGuid>.Dictionary &cellIDMappings, ExGuid>.Dictionary &revisionIDMappings ) : bool

This method is used to analyze the storage index data element to get all the mappings.

BuildDataElements ( byte fileContent, ExGuid &storageIndexExGuid ) : List

This method is used to build a list of data elements to represent a file.

CreateCellMainifestDataElement ( ExGuid revisionId, ExGuid>.Dictionary &cellIDMapping ) : DataElement

This method is used to create the cell manifest data element.

CreateObjectGroupDataElement ( byte fileContent, ExGuid &rootNodeExGuid, List &objectDataExGuidList ) : List

This method is used to create object group data/blob element list.

CreateRevisionManifestDataElement ( ExGuid rootObjectExGuid, ExGuid baseRevisionID, List refferenceObjectDataExGuidList, ExGuid>.Dictionary &revisionMapping, ExGuid &currentRevisionID ) : DataElement

This method is used to create the revision manifest data element.

CreateStorageIndexDataElement ( ExGuid manifestExGuid, ExGuid>.Dictionary cellIDMappings, ExGuid>.Dictionary revisionIDMappings ) : DataElement

This method is used to create the storage index data element.

CreateStorageManifestDataElement ( ExGuid>.Dictionary cellIDMapping ) : DataElement

This method is used to create the storage manifest data element.

GetCellManifestDataElementData ( List dataElements, StorageManifestDataElementData manifestDataElementData, ExGuid>.Dictionary cellIDMappings ) : CellManifestDataElementData

This method is used to get cell manifest data element from a list of data element.

GetDataObjectDataElementData ( List dataElements, ExGuid storageIndexExGuid, ExGuid &rootExGuid ) : List

This method is used to get the list of object group data element from a list of data element.

GetDataObjectDataElementData ( List dataElements, RevisionManifestDataElementData revisionData, ExGuid &rootExGuid ) : List

This method is used to get a list of object group data element from a list of data element.

GetRevisionManifestDataElementData ( List dataElements, CellManifestDataElementData cellData, ExGuid>.Dictionary revisionIDMappings ) : RevisionManifestDataElementData

This method is used to get revision manifest data element from a list of data element.

GetStorageManifestDataElementData ( List dataElements, ExGuid manifestMapping ) : StorageManifestDataElementData

This method is used to get storage manifest data element from a list of data element.

TryAnalyzeWhetherConfirmSchema ( List dataElements, ExGuid storageIndexExGuid ) : bool

This method is used to analyze whether the data elements are confirmed to the schema defined in MS-FSSHTTPD.

TryAnalyzeWhetherFullDataElementList ( List dataElements, ExGuid storageIndexExGuid ) : bool

This method is used to try to analyze the returned whether data elements are complete.

메소드 상세

AnalyzeStorageIndexDataElement() 공개 정적인 메소드

This method is used to analyze the storage index data element to get all the mappings.
public static AnalyzeStorageIndexDataElement ( List dataElements, ExGuid storageIndexExGuid, ExGuid &manifestMappingGuid, ExGuid>.Dictionary &cellIDMappings, ExGuid>.Dictionary &revisionIDMappings ) : bool
dataElements List Specify the data element list.
storageIndexExGuid ExGuid Specify the storage index extended GUID.
manifestMappingGuid ExGuid Output parameter to represent the storage manifest mapping GUID.
cellIDMappings ExGuid>.Dictionary Output parameter to represent the mapping of cell id.
revisionIDMappings ExGuid>.Dictionary Output parameter to represent the revision id.
리턴 bool

BuildDataElements() 공개 정적인 메소드

This method is used to build a list of data elements to represent a file.
public static BuildDataElements ( byte fileContent, ExGuid &storageIndexExGuid ) : List
fileContent byte Specify the file content byte array.
storageIndexExGuid ExGuid Output parameter to represent the storage index GUID.
리턴 List

CreateCellMainifestDataElement() 공개 정적인 메소드

This method is used to create the cell manifest data element.
public static CreateCellMainifestDataElement ( ExGuid revisionId, ExGuid>.Dictionary &cellIDMapping ) : DataElement
revisionId ExGuid Specify the revision GUID.
cellIDMapping ExGuid>.Dictionary Input/output parameter to represent the mapping of cell manifest.
리턴 DataElement

CreateObjectGroupDataElement() 공개 정적인 메소드

This method is used to create object group data/blob element list.
public static CreateObjectGroupDataElement ( byte fileContent, ExGuid &rootNodeExGuid, List &objectDataExGuidList ) : List
fileContent byte Specify the file content in byte array format.
rootNodeExGuid ExGuid Output parameter to represent the root node extended GUID.
objectDataExGuidList List Input/Output parameter to represent the list of extended GUID for the data object data.
리턴 List

CreateRevisionManifestDataElement() 공개 정적인 메소드

This method is used to create the revision manifest data element.
public static CreateRevisionManifestDataElement ( ExGuid rootObjectExGuid, ExGuid baseRevisionID, List refferenceObjectDataExGuidList, ExGuid>.Dictionary &revisionMapping, ExGuid &currentRevisionID ) : DataElement
rootObjectExGuid ExGuid Specify the root node object extended GUID.
baseRevisionID ExGuid Specify the base revision Id.
refferenceObjectDataExGuidList List Specify the reference object data extended list.
revisionMapping ExGuid>.Dictionary Input/output parameter to represent the mapping of revision manifest.
currentRevisionID ExGuid Output parameter to represent the revision GUID.
리턴 DataElement

CreateStorageIndexDataElement() 공개 정적인 메소드

This method is used to create the storage index data element.
public static CreateStorageIndexDataElement ( ExGuid manifestExGuid, ExGuid>.Dictionary cellIDMappings, ExGuid>.Dictionary revisionIDMappings ) : DataElement
manifestExGuid ExGuid Specify the storage manifest data element extended GUID.
cellIDMappings ExGuid>.Dictionary Specify the mapping of cell manifest.
revisionIDMappings ExGuid>.Dictionary Specify the mapping of revision manifest.
리턴 DataElement

CreateStorageManifestDataElement() 공개 정적인 메소드

This method is used to create the storage manifest data element.
public static CreateStorageManifestDataElement ( ExGuid>.Dictionary cellIDMapping ) : DataElement
cellIDMapping ExGuid>.Dictionary Specify the mapping of cell manifest.
리턴 DataElement

GetCellManifestDataElementData() 공개 정적인 메소드

This method is used to get cell manifest data element from a list of data element.
public static GetCellManifestDataElementData ( List dataElements, StorageManifestDataElementData manifestDataElementData, ExGuid>.Dictionary cellIDMappings ) : CellManifestDataElementData
dataElements List Specify the data element list.
manifestDataElementData StorageManifestDataElementData Specify the manifest data element.
cellIDMappings ExGuid>.Dictionary Specify mapping of cell id.
리턴 CellManifestDataElementData

GetDataObjectDataElementData() 공개 정적인 메소드

This method is used to get the list of object group data element from a list of data element.
public static GetDataObjectDataElementData ( List dataElements, ExGuid storageIndexExGuid, ExGuid &rootExGuid ) : List
dataElements List Specify the data element list.
storageIndexExGuid ExGuid Specify the storage index extended GUID.
rootExGuid ExGuid Output parameter to represent the root node object.
리턴 List

GetDataObjectDataElementData() 공개 정적인 메소드

This method is used to get a list of object group data element from a list of data element.
public static GetDataObjectDataElementData ( List dataElements, RevisionManifestDataElementData revisionData, ExGuid &rootExGuid ) : List
dataElements List Specify the data element list.
revisionData RevisionManifestDataElementData Specify the revision data.
rootExGuid ExGuid Specify the root node object extended GUID.
리턴 List

GetRevisionManifestDataElementData() 공개 정적인 메소드

This method is used to get revision manifest data element from a list of data element.
public static GetRevisionManifestDataElementData ( List dataElements, CellManifestDataElementData cellData, ExGuid>.Dictionary revisionIDMappings ) : RevisionManifestDataElementData
dataElements List Specify the data element list.
cellData CellManifestDataElementData Specify the cell data element.
revisionIDMappings ExGuid>.Dictionary Specify mapping of revision id.
리턴 RevisionManifestDataElementData

GetStorageManifestDataElementData() 공개 정적인 메소드

This method is used to get storage manifest data element from a list of data element.
public static GetStorageManifestDataElementData ( List dataElements, ExGuid manifestMapping ) : StorageManifestDataElementData
dataElements List Specify the data element list.
manifestMapping ExGuid Specify the manifest mapping GUID.
리턴 StorageManifestDataElementData

TryAnalyzeWhetherConfirmSchema() 공개 정적인 메소드

This method is used to analyze whether the data elements are confirmed to the schema defined in MS-FSSHTTPD.
public static TryAnalyzeWhetherConfirmSchema ( List dataElements, ExGuid storageIndexExGuid ) : bool
dataElements List Specify the data elements list.
storageIndexExGuid ExGuid Specify the storage index extended GUID.
리턴 bool

TryAnalyzeWhetherFullDataElementList() 공개 정적인 메소드

This method is used to try to analyze the returned whether data elements are complete.
public static TryAnalyzeWhetherFullDataElementList ( List dataElements, ExGuid storageIndexExGuid ) : bool
dataElements List Specify the data elements list.
storageIndexExGuid ExGuid Specify the storage index extended GUID.
리턴 bool

프로퍼티 상세

CellSecondExGuid 공개적으로 정적으로 프로퍼티

The constant value of cell second extended GUID.
public static Guid,System CellSecondExGuid
리턴 System.Guid

RootExGuid 공개적으로 정적으로 프로퍼티

The constant value of root extended GUID.
public static Guid,System RootExGuid
리턴 System.Guid

SchemaGuid 공개적으로 정적으로 프로퍼티

The constant value of schema GUID.
public static Guid,System SchemaGuid
리턴 System.Guid