C# Класс System.Waf.Applications.Services.FileType

Represents a file type.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FileType ( string description, IEnumerable fileExtensions ) : System.Collections.Generic

Initializes a new instance of the FileType class.

FileType ( string description, string fileExtension ) : System.Collections.Generic

Initializes a new instance of the FileType class.

Приватные методы

Метод Описание
CheckFileExtensions ( IEnumerable fileExtensions ) : IEnumerable

Описание методов

FileType() публичный Метод

Initializes a new instance of the FileType class.
description is null or an empty string. One or more of the file extension strings doesn't start with a '.' point character. fileExtensions is null.
public FileType ( string description, IEnumerable fileExtensions ) : System.Collections.Generic
description string The description of the file type.
fileExtensions IEnumerable A list of file extensions. Every string has to start with a '.' point.
Результат System.Collections.Generic

FileType() публичный Метод

Initializes a new instance of the FileType class.
description is null or an empty string. fileExtension is null, an empty string or doesn't start with a '.' point character.
public FileType ( string description, string fileExtension ) : System.Collections.Generic
description string The description of the file type.
fileExtension string The file extension. This string has to start with a '.' point. Use the string ".*" to allow all file extensions.
Результат System.Collections.Generic