Example #1
0
 public virtual object AfterCast(LongViewColumnType viewColumnType
                                 , PropertyType propertyType
                                 , ViewColumnInfo aViewColumnInfo
                                 , object propertyValue)
 {
     return(propertyValue);
 }
Example #2
0
 public virtual object BeforeCast(LongViewColumnType viewColumnType
                                  , PropertyType propertyType
                                  , ViewColumnInfo aViewColumnInfo
                                  , object viewColumnValue)
 {
     return(viewColumnValue);
 }
Example #3
0
        internal object CastFrom(LongViewColumnType 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));
        }
Example #4
0
 protected abstract object CastFromImp(LongViewColumnType viewColumnType
                                       , object viewColumnValue);