예제 #1
0
        //--------------------------------------
        // PUBLIC API CALL METHODS
        //--------------------------------------

        public void AddApi(LoginApi api)
        {
            if (!apis.Contains(api))
            {
                apis.Add(api);
            }
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            if (GetType() != obj.GetType())
            {
                return(false);
            }

            LoginApi other = obj as LoginApi;

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