/
veer
/
Zaya.Primitives
Обзор
Документация
Войти
/
veer
/
Zaya.Primitives
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
docs/api/Zaya.Primitives.FilePathSettingDescriptor.html
308 строк
15 KB
Vladimir Makarov
docs
29 июл 2026, 13:13
29 июл 2026, 13:13
50b4c9c
Код
Авторство
О чём код?
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Class FilePathSettingDescriptor </title> <meta name="viewport" content="width=device-width"> <meta name="title" content="Class FilePathSettingDescriptor "> <meta name="description" content="Descriptor for a file path setting. Rendered as a text box with a &quot;Browse...&quot; button."> <link rel="shortcut icon" href="../favicon.ico"> <link rel="stylesheet" href="../styles/docfx.vendor.min.css"> <link rel="stylesheet" href="../styles/docfx.css"> <link rel="stylesheet" href="../styles/main.css"> <meta property="docfx:navrel" content="../toc.html"> <meta property="docfx:tocrel" content="toc.html"> </head> <body data-spy="scroll" data-target="#affix" data-offset="120"> <div id="wrapper"> <header> <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="../index.html"> <img id="logo" class="svg" src="../logo.svg" alt=""> </a> </div> <div class="collapse navbar-collapse" id="navbar"> <form class="navbar-form navbar-right" role="search" id="search"> <div class="form-group"> <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> </div> </form> </div> </div> </nav> <div class="subnav navbar navbar-default"> <div class="container hide-when-search" id="breadcrumb"> <ul class="breadcrumb"> <li></li> </ul> </div> </div> </header> <div role="main" class="container body-content hide-when-search"> <div class="sidenav hide-when-search"> <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> <div class="sidetoggle collapse" id="sidetoggle"> <div id="sidetoc"></div> </div> </div> <div class="article row grid-right"> <div class="col-md-10"> <article class="content wrap" id="_content" data-uid="Zaya.Primitives.FilePathSettingDescriptor"> <h1 id="Zaya_Primitives_FilePathSettingDescriptor" data-uid="Zaya.Primitives.FilePathSettingDescriptor" class="text-break">Class FilePathSettingDescriptor</h1> <div class="markdown level0 summary"><p>Descriptor for a file path setting. Rendered as a text box with a "Browse..." button.</p> </div> <div class="markdown level0 conceptual"></div> <div class="inheritance"> <h5>Inheritance</h5> <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div> <div class="level1"><a class="xref" href="Zaya.Primitives.SettingDescriptor.html">SettingDescriptor</a></div> <div class="level2"><span class="xref">FilePathSettingDescriptor</span></div> </div> <div class="inheritedMembers"> <h5>Inherited Members</h5> <div> <a class="xref" href="Zaya.Primitives.SettingDescriptor.html#Zaya_Primitives_SettingDescriptor_Key">SettingDescriptor.Key</a> </div> <div> <a class="xref" href="Zaya.Primitives.SettingDescriptor.html#Zaya_Primitives_SettingDescriptor_DisplayName">SettingDescriptor.DisplayName</a> </div> <div> <a class="xref" href="Zaya.Primitives.SettingDescriptor.html#Zaya_Primitives_SettingDescriptor_Description">SettingDescriptor.Description</a> </div> <div> <a class="xref" href="Zaya.Primitives.SettingDescriptor.html#Zaya_Primitives_SettingDescriptor_IconSvg">SettingDescriptor.IconSvg</a> </div> <div> <a class="xref" href="Zaya.Primitives.SettingDescriptor.html#Zaya_Primitives_SettingDescriptor_IsVisible">SettingDescriptor.IsVisible</a> </div> <div> <a class="xref" href="Zaya.Primitives.SettingDescriptor.html#Zaya_Primitives_SettingDescriptor_IsRequired">SettingDescriptor.IsRequired</a> </div> <div> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a> </div> <div> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a> </div> <div> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a> </div> <div> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a> </div> <div> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a> </div> <div> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a> </div> </div> <h6><strong>Namespace</strong>: <a class="xref" href="Zaya.html">Zaya</a>.<a class="xref" href="Zaya.Primitives.html">Primitives</a></h6> <h6><strong>Assembly</strong>: Zaya.Primitives.dll</h6> <h5 id="Zaya_Primitives_FilePathSettingDescriptor_syntax">Syntax</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public sealed class FilePathSettingDescriptor : SettingDescriptor</code></pre> </div> <h3 id="constructors">Constructors </h3> <span class="small pull-right mobile-hide"> <span class="divider">|</span> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/new/main/apiSpec/new?filename=Zaya_Primitives_FilePathSettingDescriptor__ctor_System_String_Zaya_Primitives_LocalizedString_.md&value=---%0Auid%3A%20Zaya.Primitives.FilePathSettingDescriptor.%23ctor(System.String%2CZaya.Primitives.LocalizedString)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a> </span> <span class="small pull-right mobile-hide"> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/blob/main/src/Zaya.Primitives/SettingDescriptor.cs/#L201">View Source</a> </span> <a id="Zaya_Primitives_FilePathSettingDescriptor__ctor_" data-uid="Zaya.Primitives.FilePathSettingDescriptor.#ctor*"></a> <h4 id="Zaya_Primitives_FilePathSettingDescriptor__ctor_System_String_Zaya_Primitives_LocalizedString_" data-uid="Zaya.Primitives.FilePathSettingDescriptor.#ctor(System.String,Zaya.Primitives.LocalizedString)">FilePathSettingDescriptor(string, LocalizedString)</h4> <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Zaya.Primitives.FilePathSettingDescriptor.html">FilePathSettingDescriptor</a> class.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="declaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public FilePathSettingDescriptor(string key, LocalizedString displayName)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td> <td><span class="parametername">key</span></td> <td><p>Machine-readable key for this setting.</p> </td> </tr> <tr> <td><a class="xref" href="Zaya.Primitives.LocalizedString.html">LocalizedString</a></td> <td><span class="parametername">displayName</span></td> <td><p>Localizable UI label.</p> </td> </tr> </tbody> </table> <h3 id="properties">Properties </h3> <span class="small pull-right mobile-hide"> <span class="divider">|</span> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/new/main/apiSpec/new?filename=Zaya_Primitives_FilePathSettingDescriptor_DefaultValue.md&value=---%0Auid%3A%20Zaya.Primitives.FilePathSettingDescriptor.DefaultValue%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a> </span> <span class="small pull-right mobile-hide"> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/blob/main/src/Zaya.Primitives/SettingDescriptor.cs/#L184">View Source</a> </span> <a id="Zaya_Primitives_FilePathSettingDescriptor_DefaultValue_" data-uid="Zaya.Primitives.FilePathSettingDescriptor.DefaultValue*"></a> <h4 id="Zaya_Primitives_FilePathSettingDescriptor_DefaultValue" data-uid="Zaya.Primitives.FilePathSettingDescriptor.DefaultValue">DefaultValue</h4> <div class="markdown level1 summary"><p>Gets or sets the default file path.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="declaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public string? DefaultValue { get; init; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td> <td></td> </tr> </tbody> </table> <span class="small pull-right mobile-hide"> <span class="divider">|</span> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/new/main/apiSpec/new?filename=Zaya_Primitives_FilePathSettingDescriptor_FileFilter.md&value=---%0Auid%3A%20Zaya.Primitives.FilePathSettingDescriptor.FileFilter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a> </span> <span class="small pull-right mobile-hide"> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/blob/main/src/Zaya.Primitives/SettingDescriptor.cs/#L194">View Source</a> </span> <a id="Zaya_Primitives_FilePathSettingDescriptor_FileFilter_" data-uid="Zaya.Primitives.FilePathSettingDescriptor.FileFilter*"></a> <h4 id="Zaya_Primitives_FilePathSettingDescriptor_FileFilter" data-uid="Zaya.Primitives.FilePathSettingDescriptor.FileFilter">FileFilter</h4> <div class="markdown level1 summary"><p>Gets or sets an optional file filter for the open-file dialog (e.g. "<em>.dll|</em>.exe").</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="declaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public string? FileFilter { get; init; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td> <td></td> </tr> </tbody> </table> <span class="small pull-right mobile-hide"> <span class="divider">|</span> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/new/main/apiSpec/new?filename=Zaya_Primitives_FilePathSettingDescriptor_FileMustExist.md&value=---%0Auid%3A%20Zaya.Primitives.FilePathSettingDescriptor.FileMustExist%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a> </span> <span class="small pull-right mobile-hide"> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/blob/main/src/Zaya.Primitives/SettingDescriptor.cs/#L189">View Source</a> </span> <a id="Zaya_Primitives_FilePathSettingDescriptor_FileMustExist_" data-uid="Zaya.Primitives.FilePathSettingDescriptor.FileMustExist*"></a> <h4 id="Zaya_Primitives_FilePathSettingDescriptor_FileMustExist" data-uid="Zaya.Primitives.FilePathSettingDescriptor.FileMustExist">FileMustExist</h4> <div class="markdown level1 summary"><p>Gets or sets whether the file must already exist on disk before validation passes.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="declaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public bool FileMustExist { get; init; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td> <td></td> </tr> </tbody> </table> </article> </div> <div class="hidden-sm col-md-2" role="complementary"> <div class="sideaffix"> <div class="contribution"> <ul class="nav"> <li> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/new/main/apiSpec/new?filename=Zaya_Primitives_FilePathSettingDescriptor.md&value=---%0Auid%3A%20Zaya.Primitives.FilePathSettingDescriptor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a> </li> <li> <a href="https://github.com/shtrasser-dev/Zaya.Primitives/blob/main/src/Zaya.Primitives/SettingDescriptor.cs/#L179" class="contribution-link">View Source</a> </li> </ul> </div> <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> <h5>In this article</h5> <div></div> </nav> </div> </div> </div> </div> <footer> <div class="grad-bottom"></div> <div class="footer"> <div class="container"> <span class="pull-right"> <a href="#top">Back to top</a> </span> <span>Generated by <strong>DocFX</strong></span> </div> </div> </footer> </div> <script type="text/javascript" src="../styles/docfx.vendor.min.js"></script> <script type="text/javascript" src="../styles/docfx.js"></script> <script type="text/javascript" src="../styles/main.js"></script> </body> </html>