C# Class SenseNet.Tools.ContentImporter.ContentInfo

ファイルを表示 Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
GetContentTypeName string
GetParentAllowedContentTypeName string
UpdateReferences bool

Public Methods

Method Description
ContentInfo ( string path, Node parent ) : System
SetMetadata ( SenseNet.ContentRepository content, string currentDirectory, bool isNewContent, bool needToValidate, bool updateReferences ) : bool

Private Methods

Method Description
GetContentTypeName ( string fileName ) : string
GetParentAllowedContentTypeName ( string fileName, Node parent, string defaultFileTypeName ) : string
UpdateReferences ( SenseNet.ContentRepository content, bool needToValidate ) : bool

Method Details

ContentInfo() public method

public ContentInfo ( string path, Node parent ) : System
path string
parent Node
return System

SetMetadata() public method

public SetMetadata ( SenseNet.ContentRepository content, string currentDirectory, bool isNewContent, bool needToValidate, bool updateReferences ) : bool
content SenseNet.ContentRepository
currentDirectory string
isNewContent bool
needToValidate bool
updateReferences bool
return bool