Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null || !(obj is SearchParameter))
            {
                return(false);
            }
            SearchParameter parameter = obj as SearchParameter;

            if (parameter.Computer == this.Computer &&
                parameter.EndTime == this.EndTime &&
                parameter.SearchText == this.SearchText &&
                parameter.Source == this.Source &&
                parameter.StartTime == this.StartTime &&
                parameter.User == this.User &&
                parameter.Used == this.Used)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public SearchSettingEventArgs(SearchParameter parameter)
 {
     _parameter = parameter;
 }