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