Skip to main content

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

MemberSummary
FilePickerPlace(string, string, string)A shortcut in the file picker's sidebar, for somewhere the user goes often.

Properties

MemberSummary
IconAn optional glyph drawn before the name.
NameWhat the shortcut is called.
PathWhere it leads.

Methods

MemberSummary
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

NameTypeDescription
NamestringWhat the shortcut is called.
PathstringWhere it leads.
IconstringAn 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

NameTypeDescription
Namestring
Pathstring
Iconstring