예제 #1
0
        private EstimatedPreferenceCapper buildCapper()
        {
            IDataModel dataModel = GetDataModel();

            if (float.IsNaN(dataModel.GetMinPreference()) && float.IsNaN(dataModel.GetMaxPreference()))
            {
                return(null);
            }
            else
            {
                return(new EstimatedPreferenceCapper(dataModel));
            }
        }
 public EstimatedPreferenceCapper(IDataModel model)
 {
     min = model.GetMinPreference();
     max = model.GetMaxPreference();
 }
 public EstimatedPreferenceCapper(IDataModel model) {
   min = model.GetMinPreference();
   max = model.GetMaxPreference();
 }
예제 #4
0
 public virtual float GetMinPreference()
 {
     return(_delegate.GetMinPreference());
 }
예제 #5
0
 public override float GetMinPreference()
 {
     return(_delegate.GetMinPreference());
 }