Méthode | Description | |
---|---|---|
DiscoverFormats ( IModCacheManager p_mcmModCacheManager, IScriptTypeRegistry p_stgScriptTypeRegistry, string p_strSearchPath ) : IModFormatRegistry |
Searches for mod format assemblies in the specified path, and loads any mod formats that are found into a registry. A mod format is loaded if the class implements IModFormat and is not abstract. Once loaded, the format is added to the registry. |
|
GetFormat ( string p_strModFormatId ) : IModFormat |
Gets the specified IModFormat.
|
|
ModFormatRegistry ( ) : System |
The default constructor.
|
|
RegisterFormat ( IModFormat p_mftFormat ) : void |
Registers the given IModFormat.
|
public static DiscoverFormats ( IModCacheManager p_mcmModCacheManager, IScriptTypeRegistry p_stgScriptTypeRegistry, string p_strSearchPath ) : IModFormatRegistry | ||
p_mcmModCacheManager | IModCacheManager | The manager being used to manage mod caches. |
p_stgScriptTypeRegistry | IScriptTypeRegistry | The registry listing the supported script types. |
p_strSearchPath | string | The path in which to search for mod format assemblies. |
Résultat | IModFormatRegistry |
public GetFormat ( string p_strModFormatId ) : IModFormat | ||
p_strModFormatId | string | The id of the |
Résultat | IModFormat |
public RegisterFormat ( IModFormat p_mftFormat ) : void | ||
p_mftFormat | IModFormat | A |
Résultat | void |