Class MostRecentlyUsedFileItem
An immutable item that represents a Most Recently Used file (MRU) table entry.
Implements
Inherited Members
Namespace: BionicCode.Utilities.Net
Assembly: BionicCode.Utilities.Net.Wpf.dll
Syntax
public class MostRecentlyUsedFileItem : ViewModel, IViewModel, IProgressReporter, IViewModelCommon, INotifyDataErrorInfo, IProgressReporterCommon, INotifyPropertyChanged, IEquatable<MostRecentlyUsedFileItem>
Constructors
| Improve this Doc View SourceMostRecentlyUsedFileItem(FileInfo)
Constructor
Declaration
public MostRecentlyUsedFileItem(FileInfo fileInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| FileInfo | fileInfo | The underlying FileInfo of the item. |
Properties
| Improve this Doc View SourceFileInfo
Return the underlying FileInfo of this instance.
Declaration
public FileInfo FileInfo { get; }
Property Value
| Type | Description |
|---|---|
| FileInfo |
FullName
Returns the full file path of the file.
Declaration
public string FullName { get; }
Property Value
| Type | Description |
|---|---|
| String |
Name
Returns the file name including the extension.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
| Improve this Doc View SourceEquals(MostRecentlyUsedFileItem)
Declaration
public bool Equals(MostRecentlyUsedFileItem other)
Parameters
| Type | Name | Description |
|---|---|---|
| MostRecentlyUsedFileItem | other |
Returns
| Type | Description |
|---|---|
| Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 |
Overrides
Operators
| Improve this Doc View SourceEquality(MostRecentlyUsedFileItem, MostRecentlyUsedFileItem)
Is equal operator.
Declaration
public static bool operator ==(MostRecentlyUsedFileItem left, MostRecentlyUsedFileItem right)
Parameters
| Type | Name | Description |
|---|---|---|
| MostRecentlyUsedFileItem | left | Left argument. |
| MostRecentlyUsedFileItem | right | Right argument. |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Inequality(MostRecentlyUsedFileItem, MostRecentlyUsedFileItem)
Is not equal operator.
Declaration
public static bool operator !=(MostRecentlyUsedFileItem left, MostRecentlyUsedFileItem right)
Parameters
| Type | Name | Description |
|---|---|---|
| MostRecentlyUsedFileItem | left | Left argument. |
| MostRecentlyUsedFileItem | right | Right argument. |
Returns
| Type | Description |
|---|---|
| Boolean |
|