C# Класс Nexus.Client.Mods.Readme

Describes the readme file of a mod.
Наследование: ObservableObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsValidExtension ( string p_strExtension ) : bool

Determines if the given extension is a valid readme extension.

IsValidFilename ( string p_strFilename ) : bool

Determines if the given filename is a valid readme file.

IsValidReadme ( string p_strPath ) : bool

Determines if the specified readme file is of a recognized format.

Readme ( ReadmeFormat p_fmtFormat, string p_strText ) : System

A simple constructor that initializes the object with the given values.

Readme ( string p_strPath, string p_strText ) : System

A simple constructor that initializes the object with the given values.

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

IsValidExtension() публичный статический Метод

Determines if the given extension is a valid readme extension.
public static IsValidExtension ( string p_strExtension ) : bool
p_strExtension string The extension whose validity is to be determined.
Результат bool

IsValidFilename() публичный статический Метод

Determines if the given filename is a valid readme file.
public static IsValidFilename ( string p_strFilename ) : bool
p_strFilename string
Результат bool

IsValidReadme() публичный статический Метод

Determines if the specified readme file is of a recognized format.
public static IsValidReadme ( string p_strPath ) : bool
p_strPath string The path of the readme file.
Результат bool

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

A simple constructor that initializes the object with the given values.
public Readme ( ReadmeFormat p_fmtFormat, string p_strText ) : System
p_fmtFormat ReadmeFormat The readme format.
p_strText string The readme text.
Результат System

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

A simple constructor that initializes the object with the given values.
public Readme ( string p_strPath, string p_strText ) : System
p_strPath string The path of the readme file. This is used to determine the .
p_strText string The readme text.
Результат System