//-------------------------------------- // PUBLIC API CALL METHODS //-------------------------------------- public void AddApi(LoginApi api) { if (!apis.Contains(api)) { apis.Add(api); } }
public override bool Equals(object obj) { if (GetType() != obj.GetType()) { return(false); } LoginApi other = obj as LoginApi; return(value.Equals(other.Value)); }