C# Class SenseNet.ContentRepository.Storage.Schema.NodeType

Inheritance: PropertySet
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

Méthode Description
CreateInstance ( Node parent ) : Node
CreateInstance ( string nodeTypeName, Node parent ) : Node
GetAllTypes ( ) : TypeCollection
GetById ( int nodeTypeId ) : NodeType
GetByName ( string nodeTypeName ) : NodeType
GetChildren ( ) : TypeCollection
IsInstaceOfOrDerivedFrom ( NodeType nodeType ) : bool
IsInstaceOfOrDerivedFrom ( string nodeTypeName ) : bool

Private Methods

Méthode Description
AddPropertyType ( PropertyType propertyType ) : void
CreateInstance ( NodeToken token ) : Node
GetAllTypes ( TypeCollection types ) : void
InheritPropertyType ( PropertyType propertyType ) : void
MoveTo ( NodeType parent ) : void
NodeType ( int id, string name, ISchemaRoot schemaRoot, string className, NodeType parent ) : System
RemoveInheritedPropertyTypes ( PropertyType propertyType ) : void
RemovePropertyType ( PropertyType propertyType ) : void
UpdateNodeTypePath ( ) : void

Method Details

CreateInstance() public méthode

public CreateInstance ( Node parent ) : Node
parent Node
Résultat Node

CreateInstance() public static méthode

public static CreateInstance ( string nodeTypeName, Node parent ) : Node
nodeTypeName string
parent Node
Résultat Node

GetAllTypes() public méthode

public GetAllTypes ( ) : TypeCollection
Résultat TypeCollection

GetById() public static méthode

public static GetById ( int nodeTypeId ) : NodeType
nodeTypeId int
Résultat NodeType

GetByName() public static méthode

public static GetByName ( string nodeTypeName ) : NodeType
nodeTypeName string
Résultat NodeType

GetChildren() public méthode

public GetChildren ( ) : TypeCollection
Résultat TypeCollection

IsInstaceOfOrDerivedFrom() public méthode

public IsInstaceOfOrDerivedFrom ( NodeType nodeType ) : bool
nodeType NodeType
Résultat bool

IsInstaceOfOrDerivedFrom() public méthode

public IsInstaceOfOrDerivedFrom ( string nodeTypeName ) : bool
nodeTypeName string
Résultat bool