C# Класс SDE.Tools.DatabaseEditor.Generic.DbLoaders.AllLoaders

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

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

Метод Описание
ClearStoredFiles ( ) : void
DetectPath ( ServerDbs toString, bool allowAlernative = true ) : string
DetectPath ( string toString ) : string
DetectPathAll ( string db ) : string

Goes up in the parent folder until the path is found.

GenericErrorHandler ( int &numError, object item ) : bool
GetFileType ( string path ) : FileType

Gets the type of the file based on the path.

GetIsRenewal ( ) : bool

Determines if the current server is renewal or not.

GetServerType ( ) : ServerType

Gets the type of the server of the currently loaded DB.

GetStoredFile ( string path ) : string
StoreFile ( string path ) : void
UpdateStoredFiles ( ) : void

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

Метод Описание
AllLoaders ( ) : System.IO
_getInCurrentPath ( string fileInput ) : string
_getInParentPath ( string fileInput ) : string

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

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

public static ClearStoredFiles ( ) : void
Результат void

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

public static DetectPath ( ServerDbs toString, bool allowAlernative = true ) : string
toString SDE.Tools.DatabaseEditor.Generic.Lists.ServerDbs
allowAlernative bool
Результат string

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

public static DetectPath ( string toString ) : string
toString string
Результат string

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

Goes up in the parent folder until the path is found.
public static DetectPathAll ( string db ) : string
db string The sub path to find.
Результат string

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

public static GenericErrorHandler ( int &numError, object item ) : bool
numError int
item object
Результат bool

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

Gets the type of the file based on the path.
public static GetFileType ( string path ) : FileType
path string The path.
Результат FileType

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

Determines if the current server is renewal or not.
public static GetIsRenewal ( ) : bool
Результат bool

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

Gets the type of the server of the currently loaded DB.
public static GetServerType ( ) : ServerType
Результат ServerType

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

public static GetStoredFile ( string path ) : string
path string
Результат string

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

public static StoreFile ( string path ) : void
path string
Результат void

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

public static UpdateStoredFiles ( ) : void
Результат void