Ejemplo n.º 1
0
        public AssignmentEntry(string name, AssignmentMember @from, AssignmentMember to)
        {
            Name = name;
            From = @from;
            To   = to;

            GetValueFn = From.GetGetValueFn();
            SetValueFn = To.GetSetValueFn();
        }
Ejemplo n.º 2
0
        public AssignmentEntry(string name, AssignmentMember @from, AssignmentMember to)
        {
            Name = name;
            From = @from;
            To   = to;

            GetValueFn     = From.GetGetValueFn();
            SetValueFn     = To.GetSetValueFn();
            ConvertValueFn = TypeConverter.CreateTypeConverter(From.Type, To.Type);
        }