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 virtual float GetMinPreference() { return(_delegate.GetMinPreference()); }
public override float GetMinPreference() { return(_delegate.GetMinPreference()); }