SenseNet.ContentRepository.Storage.NodeHead.GetNodeType C# (CSharp) Method

GetNodeType() public method

public GetNodeType ( ) : NodeType
return SenseNet.ContentRepository.Storage.Schema.NodeType
        public NodeType GetNodeType()
        {
            return ActiveSchema.NodeTypes.GetItemById(NodeTypeId);
        }

Usage Example

示例#1
0
 private bool IsApplication(NodeHead appNode)
 {
     var type = TypeHandler.GetType(appNode.GetNodeType().ClassName);
     //if (typeof(Page).IsAssignableFrom(type))
     //    return true;
     //if (typeof(IHttpHandler).IsAssignableFrom(type))
     //    return true;
     return typeof(Application).IsAssignableFrom(type);
 }
All Usage Examples Of SenseNet.ContentRepository.Storage.NodeHead::GetNodeType