예제 #1
0
파일: openo.cs 프로젝트: nathanwblair/openo
        public v(string name, openo parent)
            : base(null)
        {
            this.parent = parent;

            this.variable = The.Variable(name, this.parent.Type());
            this.value    = The.Value((System.Reflection.FieldInfo) this.variable, this.parent.value);
        }
예제 #2
0
파일: openo.cs 프로젝트: nathanwblair/openo
    private openo TryGetVar(string name)
    {
        var variable = The.Variable(name, this.value.GetType());

        if (variable != null)
        {
            return(new v(variable, this));
        }

        return(null);
    }