public void ShouldCachedBool_BeFalse() { CachedBool cb = new CachedBool(); cb.SetCache(false); cb.CachedValue.Should().BeFalse(); }
public void ShouldCachedBool_BeTrue() { CachedBool cb = new CachedBool(); cb.SetCache(true); cb.CachedValue.Should().BeTrue(); }
/// <summary> /// Constructor. /// </summary> /// <param name="strFileName">The full path for the MIF.</param> // Revision History // MM/DD/YY Who Version Issue# Description // -------- --- ------- ------ --------------------------------------------- // 10/30/08 jrf 9.50 Created. // public ANSIMIF(string strFileName) : base(strFileName) { m_blnCustomScheduleUsed = new CachedBool(); }
protected bool Equals(CachedBool other) { return(other != null && Value == other.Value); }
/// <summary> /// Constructor. /// </summary> /// <param name="strFileName">The full path for the MIF.</param> // Revision History // MM/DD/YY Who Version Issue# Description // -------- --- ------- ------ --------------------------------------------- // 10/30/08 jrf 9.50 Created. // public CENTRON_IMAGEMIF(string strFileName) : base(strFileName) { m_lstMultipleCustomSchedules = new List <CCustomSchedule>(); m_blnMultipleCustomSchedulesUsed = new CachedBool(); }
public void ShouldCachedBool_BeBull() { CachedBool cb = new CachedBool(); cb.CachedValue.Should().BeNull(); }