Ejemplo n.º 1
0
 internal static ulong GetBitmaskValue(SPChangeObjectType value)
 {
     return(1ul << (32 + (int)value));
 }
Ejemplo n.º 2
0
 public SPChangeMonitorFilter(SPChangeObjectType objectType, SPChangeFlags flags)
 {
     this.Bitmask = SPChangeMonitor.GetBitmaskValue(objectType) | (ulong)flags;
 }
Ejemplo n.º 3
0
 private static bool IsSet(ulong bitmask, SPChangeObjectType value)
 {
     return((bitmask & SPChangeMonitor.GetBitmaskValue(value)) != 0);
 }