コード例 #1
0
 public static bool IsDefined(ReleaseInstanceMode x)
 {
     if (((x != ReleaseInstanceMode.None) && (x != ReleaseInstanceMode.BeforeCall)) && (x != ReleaseInstanceMode.AfterCall))
     {
         return(x == ReleaseInstanceMode.BeforeAndAfterCall);
     }
     return(true);
 }
 public static bool IsDefined(ReleaseInstanceMode x)
 {
     if (((x != ReleaseInstanceMode.None) && (x != ReleaseInstanceMode.BeforeCall)) && (x != ReleaseInstanceMode.AfterCall))
     {
         return (x == ReleaseInstanceMode.BeforeAndAfterCall);
     }
     return true;
 }
コード例 #3
0
 static public bool IsDefined(ReleaseInstanceMode x)
 {
     return
         x == ReleaseInstanceMode.None ||
         x == ReleaseInstanceMode.BeforeCall ||
         x == ReleaseInstanceMode.AfterCall ||
         x == ReleaseInstanceMode.BeforeAndAfterCall ||
         false;
 }
コード例 #4
0
 static public bool IsDefined(ReleaseInstanceMode x)
 {
     return
         (x == ReleaseInstanceMode.None ||
          x == ReleaseInstanceMode.BeforeCall ||
          x == ReleaseInstanceMode.AfterCall ||
          x == ReleaseInstanceMode.BeforeAndAfterCall ||
          false);
 }