Click or drag to resize

MostRecentlyUsedFileItem Class

An immutable item that represents a Most Recently Used file (MRU) table entry.
Inheritance Hierarchy
SystemObject
  BionicCode.Utilities.Net.Standard.ViewModelViewModel
    BionicCode.Utilities.Net.Framework.Wpf.SettingsMostRecentlyUsedFileItem

Namespace:  BionicCode.Utilities.Net.Framework.Wpf.Settings
Assembly:  BionicCode.Utilities.Net.Framework.Wpf (in BionicCode.Utilities.Net.Framework.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class MostRecentlyUsedFileItem : ViewModel, 
	IEquatable<MostRecentlyUsedFileItem>

The MostRecentlyUsedFileItem type exposes the following members.

Constructors
  NameDescription
Public methodMostRecentlyUsedFileItem
Constructor
Top
Properties
  NameDescription
Public propertyFileInfo
Return the underlying FileInfo of this instance.
Public propertyFullName
Returns the full file path of the file.
Public propertyHasErrors
Gets a value that indicates whether the entity has validation errors.
(Inherited from ViewModel.)
Public propertyName
Returns the file name including the extension.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(MostRecentlyUsedFileItem)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetErrors
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
(Inherited from ViewModel.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetPropertyErrors
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
(Inherited from ViewModel.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsValueValidTValue
Can be used to check whether a value is valid.
(Inherited from ViewModel.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnErrorsChanged
Raised when the validation state of the view model has changed (e.g. error added or removed).
(Inherited from ViewModel.)
Protected methodOnPropertyChanged
Method called to fire a PropertyChanged event. Also raises the PropertyChanged event to support binding.
(Inherited from ViewModel.)
Public methodPropertyHasError
Checks whether the specified property has errors or is valid.
(Inherited from ViewModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTrySetValueTValue(TValue, TValue, String)
Generic property setter. Sets the value of any property of the extending view model by passing in a the corresponding property backing field. Automatically raises the PropertyChanged event for this property.
(Inherited from ViewModel.)
Protected methodTrySetValueTValue(TValue, FuncTValue, ValueTupleBoolean, IEnumerableString, TValue, Boolean, Boolean, String)
Sets the value of the referenced property and executes a validation delegate.
(Inherited from ViewModel.)
Protected methodTrySetValueSilentTValue(TValue, TValue, String)
Generic property setter. Silently sets the value of any property of the extending view model by passing in a the corresponding property backing field. Suppresses a PropertyChanged event for this property.
(Inherited from ViewModel.)
Protected methodTrySetValueSilentTValue(TValue, FuncTValue, ValueTupleBoolean, IEnumerableString, TValue, Boolean, Boolean, String)
Silently sets the value of the referenced property without raising PropertyChanged and executes a validation delegate.
(Inherited from ViewModel.)
Top
Events
  NameDescription
Public eventErrorsChanged
Occurs when the validation errors have changed for a property or for the entire entity.
(Inherited from ViewModel.)
Public eventPropertyChanged
Event fired whenever a child property changes its value.
(Inherited from ViewModel.)
Public eventPropertyValueChanged
PropertyChanged implementation that sends old value and new value of the change and raises the INotifyPropertyChanged event.
(Inherited from ViewModel.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Extension Methods
  NameDescription
Public Extension MethodToDictionary (Defined by HelperExtensions.)
Top
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md