Exemplo n.º 1
0
        public object ApplyCreate(Semantics.ISemanticNetwork semanticNetwork)
        {
            semanticNetwork.Concepts.Add(BoundObject = new Semantics.Concepts.Concept(ID, Name.Create(), Hint.Create()));

            foreach (var attribute in Attributes)
            {
                if (attribute.IsOn && attribute.Value != null)
                {
                    BoundObject.WithAttribute(attribute.Value);
                }
            }

            return(BoundObject);
        }