示例#1
0
 internal bool AssignValue <T>(object val)
 {
     if (TypeConverter.TrySetValue <T>(this.Data, val))
     {
         this.Modified = true;
     }
     else
     {
         this.Data     = TypeConverter.GetData <T>(val);
         this.Modified = true;
         this.Changed  = true;
     }
     return(true);
 }