SharpFS -- A Virtual FileSystem for .NET

VirtualFS.RegisterArchiver Method 

[This is preliminary documentation and subject to change.]

Register a new archiver plugin for use by the virtual filesystem.

public void RegisterArchiver(
   Type archiverType
);

Parameters

archiverType
The type of the class for the plugin.

Remarks

Note that the archiver plugin must implement IArchiver. It must also have a constructor that takes a single string argument.

Exceptions

Exception Type Condition
ArgumentNullException Thrown if archiverType is null.
ArgumentException Thrown if the type represented by archiverType does not implement IArchiver, or if it does not provide a constructor which takes a single string argument.

See Also

VirtualFS Class | SharpFS Namespace