[This is preliminary documentation and is subject to change.]
Called when loading the plugin outside of Total Comander environment instead of [M:Tools.TotalCommanderT.FileSystemPlugin.FsInit(System.Int32,=FUNC:System.Int32(System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32),=FUNC:System.Void(System.Int32,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*),=FUNC:System.Int32(System.Int32,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32))]. The passed values should be stored in the plugin for later use.
Namespace: Tools.TotalCommanderTAssembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public void InitializePlugin( int PluginNr, ProgressCallback progress, LogCallback log, RequestCallback request ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _ Public Sub InitializePlugin ( _ PluginNr As Integer, _ progress As ProgressCallback, _ log As LogCallback, _ request As RequestCallback _ ) |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)] public: void InitializePlugin( int PluginNr, ProgressCallback^ progress, LogCallback^ log, RequestCallback^ request ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>] member InitializePlugin : PluginNr:int * progress:ProgressCallback * log:LogCallback * request:RequestCallback -> unit |
| JScript |
|---|
public function InitializePlugin( PluginNr : int, progress : ProgressCallback, log : LogCallback, request : RequestCallback ) |
Parameters
- PluginNr
- Type: System..::..Int32
Internal number this plugin was given in Total Commander. Has to be passed as the first parameter in all callback functions so Totalcmd knows which plugin has sent the request.
- progress
- Type: Tools.TotalCommanderT..::..ProgressCallback
Delegate to the progress callback function.
- log
- Type: Tools.TotalCommanderT..::..LogCallback
Delegate to the logging function
- request
- Type: Tools.TotalCommanderT..::..RequestCallback
Delegate to the request text proc
Remarks
Use this function to initialize the plugin when used outside of Total Commander.
This plugin function is implemented by OnInit()()()().
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Initialized is true |
| System..::..ArgumentNullException | progress, log or request is null |