public long GetCount(EnumCountType countType) { if (_dicIncCounts.ContainsKey(countType)) { return(_dicIncCounts[countType]); } else { return(0); } }
public void Increase(EnumCountType countType) { if (_dicIncCounts.ContainsKey(countType)) { _dicIncCounts[countType] = _dicIncCounts[countType] + 1; } else { _dicIncCounts.Add(countType, 1); } }
public static SupplierCounter GetSupplierCounter(int objectID, EnumCountType countType, DateTime countDate) { return(supplierUserDAL.GetSupplierCounter(objectID, (int)countType, countDate)); }