コード例 #1
0
ファイル: Connection.cs プロジェクト: Gr1nS1de/Rotary
 public void AddScope(LoginScope scope)
 {
     if (!scopes.Contains(scope))
     {
         scopes.Add(scope);
     }
 }
コード例 #2
0
        public override bool Equals(object obj)
        {
            if (GetType() != obj.GetType())
            {
                return(false);
            }

            LoginScope other = obj as LoginScope;

            return(value.Equals(other.Value));
        }