예제 #1
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 internal NodeBase(NodeBase parent)
 {
     Parent     = parent;
     Name       = new Value.String();
     IsRendered = new Value.Boolean(true);
     Children   = new ChildrenCollection(this);
 }
예제 #2
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 internal NodeBase(NodeBase parent)
 {
     Parent = parent;
     Name = new Value.String();
     IsRendered = new Value.Boolean(true);
     Children = new ChildrenCollection(this);
 }
예제 #3
0
 public DynamicEquation(string name, DynamicEquationCollection parent)
 {
     Name             = new Value.String(name);
     Code             = new Value.String();
     Code.IsMultiLine = true;
     this.parent      = parent;
 }
예제 #4
0
        public static XmlElement SaveToElement(XmlDocument doc, string element_name, Value.String value, bool isClip)
        {
            if (value.DefaultValue == value.Value)
            {
                return(null);
            }
            var text = value.GetValue().ToString();

            return(doc.CreateTextElement(element_name, text));
        }
예제 #5
0
        public static void LoadFromElement(XmlElement e, Value.String value, bool isClip)
        {
            var text = e.GetText();

            value.SetValue(text);
        }
예제 #6
0
파일: Dynamic.cs 프로젝트: elix22/Effekseer
 public DynamicEquation()
 {
     Name             = new Value.String("");
     Code             = new Value.String("");
     Code.IsMultiLine = true;
 }