C# Class NSwag.CodeGeneration.NSwagDocument

The NSwagDocument implementation.
Inheritance: NSwagDocumentBase
Afficher le fichier Open project: NSwag/NSwag Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ) : NSwagDocument

Creates a new NSwagDocument.

LoadAsync ( string filePath ) : Task

Loads an existing NSwagDocument.

NSwagDocument ( ) : System

Initializes a new instance of the NSwagDocument class.

Méthodes protégées

Méthode Description
ConvertToAbsolutePath ( string pathToConvert ) : string

Converts to absolute path.

ConvertToRelativePath ( string pathToConvert ) : string

Converts a path to an relative path.

Private Methods

Méthode Description
GetDocumentDirectory ( ) : string

Method Details

ConvertToAbsolutePath() protected méthode

Converts to absolute path.
protected ConvertToAbsolutePath ( string pathToConvert ) : string
pathToConvert string The path to convert.
Résultat string

ConvertToRelativePath() protected méthode

Converts a path to an relative path.
protected ConvertToRelativePath ( string pathToConvert ) : string
pathToConvert string The path to convert.
Résultat string

Create() public static méthode

Creates a new NSwagDocument.
public static Create ( ) : NSwagDocument
Résultat NSwagDocument

LoadAsync() public static méthode

Loads an existing NSwagDocument.
public static LoadAsync ( string filePath ) : Task
filePath string The file path.
Résultat Task

NSwagDocument() public méthode

Initializes a new instance of the NSwagDocument class.
public NSwagDocument ( ) : System
Résultat System