Show / Hide Table of Contents

Class FilterFavorite

Defines a favorite of a FilterControl.

Inheritance
System.Object
FilterFavorite
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[Serializable]
public class FilterFavorite : INotifyPropertyChanged

Constructors

View Source

FilterFavorite(String, IEnumerable<FilterState>)

Creates a new instance of the FilterFavorite class.

Declaration
public FilterFavorite(string name, IEnumerable<FilterState> filterStates)
Parameters
Type Name Description
System.String name

The name of the filter favorite.

System.Collections.Generic.IEnumerable<FilterState> filterStates

The states of the filters.

Properties

View Source

FilterStates

Gets the state of the FilterControl of the favorite.

Declaration
public IEnumerable<FilterState> FilterStates { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<FilterState>
View Source

Name

Gets the name of the favorite.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Methods

View Source

Equals(FilterFavorite)

Declaration
protected bool Equals(FilterFavorite other)
Parameters
Type Name Description
FilterFavorite other
Returns
Type Description
System.Boolean
View Source

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The object to compare with the current object.

Returns
Type Description
System.Boolean

true if the specified object is equal to the current object; otherwise, false.

Overrides
System.Object.Equals(System.Object)
View Source

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current object.

Overrides
System.Object.GetHashCode()
View Source

NotifyPropertyChanged(String)

Method which will invoke the PropertyChanged event using propertyName.

Declaration
protected virtual void NotifyPropertyChanged(string propertyName = null)
Parameters
Type Name Description
System.String propertyName

The property name to invoke the PropertyChanged event for. If not provided then it will using the calling method or property name.

Events

View Source

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
NotifyPropertyChangedExtensions.GetPropertyName<T>(INotifyPropertyChanged, Expression<Func<T>>)
NotifyPropertyChangedExtensions.RaisePropertyChanged<T>(INotifyPropertyChanged, Expression<Func<T>>)
NotifyPropertyChangedExtensions.RaisePropertyChanged(INotifyPropertyChanged, String)
PropertyHelper.RaisePropertyChanged<T>(INotifyPropertyChanged, Expression<Func<T>>, PropertyChangedEventHandler)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX