View on GitHub

SARAFF SOFTWARE

All products / Saraff.AxHost.NET

RequiredFileAttribute Class

Syntax

[AttributeUsage(AttributeTargets.Class)]
public sealed class RequiredFileAttribute:Attribute

Constructors

/// <summary>
/// Initializes a new instance of the <see cref="RequiredFileAttribute"/> class.
/// </summary>
/// <param name="fileName">Имя файла.</param>
public RequiredFileAttribute(string filename)

Properties

/// <summary>
/// Возвращает имя файла.
/// </summary>
/// <value>Имя файла.</value>
public string FileName {get;}

Remarks

Указывает на необходимость присутствия указанного файла в том же каталоге, что и сборка класса. Indicates that the specified file is required for the application.

Examples

[assembly: RequiredFile("Saraff.Twain.dll")]
[assembly: RequiredFile("Saraff.Tiff.dll")]