public bool CheckAccess<T>(int operation) where T : Enum
{
bool hasAccess = false;
T bitmask = (T)_permission.PermissionBitMask;
hasAccess = bitmask & (T)operation == (T)operation;
return hasAccess;
}
。
Sheet 1 (Products) contains different rate combinations.
[2]。
Sheet 2 (ExpectedResult) contain one combination which should pull the rate from products sheet based on boundary conditions check