Beispiel #1
0
        public Element ToElement(IElementManager elementManager, DescribeElementsContext describeContext, JToken node)
        {
            var descriptor = elementManager.GetElementDescriptorByType <T>(describeContext);
            var element    = elementManager.ActivateElement <T>(descriptor);

            ToElement(element, node);
            return(element);
        }