示例#1
0
        private void PopulatePropertyListObjects(Contract.Block.VMvariable input)
        {
            var varList = this.Model.GetComponents();
            var group   = varList.Where(vl => vl.Name == input.ObjectName).First();

            if (group.GetType() == typeof(MyEnum))
            {
                return;
            }

            var variables = new List <Contract.Block.VMvariable>();

            foreach (var x in (group as Inheritance).Components)
            {
                variables.Add(new Contract.Block.VMvariable(new Models.Contract.Block.MyVariable(x, group.GetType())));
            }

            this.Properties.AddRange(variables);
        }
示例#2
0
 private void PopulatePropertyListVariables(Contract.Block.VMvariable input)
 {
     //Add special properties?
 }