示例#1
0
 public virtual object AfterCast(TimeSpanViewColumnType viewColumnType
                                 , PropertyType propertyType
                                 , ViewColumnInfo aViewColumnInfo
                                 , object propertyValue)
 {
     return(propertyValue);
 }
示例#2
0
 public virtual object BeforeCast(TimeSpanViewColumnType viewColumnType
                                  , PropertyType propertyType
                                  , ViewColumnInfo aViewColumnInfo
                                  , object viewColumnValue)
 {
     return(viewColumnValue);
 }
示例#3
0
        internal object CastFrom(TimeSpanViewColumnType viewColumnType
                                 , ViewColumnInfo aViewColumnInfo
                                 , object viewColumnValue)
        {
            object value = this.BeforeCast_PropertyType(aViewColumnInfo, viewColumnValue);

            value = this.BeforeCast(viewColumnType, aViewColumnInfo, value);
            value = this.CastFromImp(viewColumnType, value);
            value = this.AfterCast(viewColumnType, aViewColumnInfo, value);
            return(this.AfterCast_PropertyType(aViewColumnInfo, value));
        }
示例#4
0
 protected abstract object CastFromImp(TimeSpanViewColumnType viewColumnType
                                       , object viewColumnValue);