SenseNet.ContentRepository.Storage.NodeHead.GetNodeType C# (CSharp) 메소드

GetNodeType() 공개 메소드

public GetNodeType ( ) : NodeType
리턴 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