FilePickerPlace class
Namespace: Arlecchino.State · Assembly: Arlecchino
A shortcut in the file picker's sidebar, for somewhere the user goes often.
public sealed class FilePickerPlace : IEquatable<FilePickerPlace>
Implements IEquatable<T><FilePickerPlace>
Constructors
| Member | Summary |
|---|---|
FilePickerPlace(string, string, string) | A shortcut in the file picker's sidebar, for somewhere the user goes often. |
Properties
| Member | Summary |
|---|---|
Icon | An optional glyph drawn before the name. |
Name | What the shortcut is called. |
Path | Where it leads. |
Methods
| Member | Summary |
|---|---|
Deconstruct(out string, out string, out string) |
Constructors in detail
FilePickerPlace(string, string, string)
public FilePickerPlace(string Name, string Path, string Icon = "");
A shortcut in the file picker's sidebar, for somewhere the user goes often.
Parameters
| Name | Type | Description |
|---|---|---|
Name | string | What the shortcut is called. |
Path | string | Where it leads. |
Icon | string | An optional glyph drawn before the name. |
Properties in detail
Icon
public string Icon { get; init; }
An optional glyph drawn before the name.
Type string
Name
public string Name { get; init; }
What the shortcut is called.
Type string
Path
public string Path { get; init; }
Where it leads.
Type string
Methods in detail
Deconstruct(out string, out string, out string)
public void Deconstruct(out string Name, out string Path, out string Icon);
Parameters
| Name | Type | Description |
|---|---|---|
Name | string | |
Path | string | |
Icon | string |