public static VstsTokenScope operator ^(VstsTokenScope left, VstsTokenScope right)
        {
            var set = TokenScope.SymmetricExceptWith(left as TokenScope, right as TokenScope);

            return(new VstsTokenScope(set));
        }
        public static VstsTokenScope operator |(VstsTokenScope left, VstsTokenScope right)
        {
            var set = TokenScope.UnionWith(left as TokenScope, right as TokenScope);

            return(new VstsTokenScope(set));
        }
        public static VstsTokenScope operator &(VstsTokenScope left, VstsTokenScope right)
        {
            var set = TokenScope.IntersectWith(left as TokenScope, right as TokenScope);

            return(new VstsTokenScope(set));
        }
 public override int GetHashCode()
 => TokenScope.GetHashCode(this as TokenScope);
 public static bool operator !=(VstsTokenScope left, VstsTokenScope right)
 => !TokenScope.Equals(left as TokenScope, right as TokenScope);
 public override bool Equals(object obj)
 => TokenScope.Equals(this as TokenScope, obj);
 public bool Equals(VstsTokenScope other)
 => TokenScope.Equals(this as TokenScope, other as TokenScope);
Ejemplo n.º 8
0
        public static GitHubTokenScope operator ^(GitHubTokenScope left, GitHubTokenScope right)
        {
            var set = TokenScope.SymmetricExceptWith(left as TokenScope, right as TokenScope);

            return(new GitHubTokenScope(set));
        }
Ejemplo n.º 9
0
        public static GitHubTokenScope operator &(GitHubTokenScope left, GitHubTokenScope right)
        {
            var set = TokenScope.IntersectWith(left as TokenScope, right as TokenScope);

            return(new GitHubTokenScope(set));
        }
Ejemplo n.º 10
0
        public static GitHubTokenScope operator |(GitHubTokenScope left, GitHubTokenScope right)
        {
            var set = TokenScope.UnionWith(left as TokenScope, right as TokenScope);

            return(new GitHubTokenScope(set));
        }
Ejemplo n.º 11
0
 public static bool operator !=(GitHubTokenScope left, GitHubTokenScope right)
 => !TokenScope.Equals(left as TokenScope, right as TokenScope);
Ejemplo n.º 12
0
 public bool Equals(GitHubTokenScope other)
 => TokenScope.Equals(this as TokenScope, other as TokenScope);