コード例 #1
0
 public static global::System.BitCheck8 operator -(global::System.BitCheck8 obj1, byte obj2)
 {
     if (obj1 == null)
     {
         return(new global::System.BitCheck8(obj2));
     }
     else
     {
         global::System.BitCheck8 a = new global::System.BitCheck8(obj1.Control);
         for (int pos = 0; pos < 8; pos++)
         {
             if (!global::System.BitCheck8.IsBitSet(obj2, pos))
             {
                 a[pos] = false;
             }
         }
         return(a);
     }
 }
コード例 #2
0
 public bool Equals(global::System.BitCheck8 obj)
 {
     return(base.Equals(obj));
 }