Interface IDynamicLibrary
Defines a base interface for dynamic libraries. A dynamic library is a library whose state can be dynamically changed at the runtime e.g. by modifying the configuration of the library.
Namespace: Juhta.Net.LibraryManagement
Assembly: Juhta.Net.LibraryManagement.dll
Syntax
public interface IDynamicLibrary
Properties
| Improve this Doc View SourceLibraryState
Gets or sets the current state of the library.
Declaration
ILibraryState LibraryState { get; set; }
Property Value
Type | Description |
---|---|
ILibraryState |
LibraryStateLock
Gets a System.Threading.ReaderWriterLockSlim object managing concurrent access to the current state of the library.
Declaration
ReaderWriterLockSlim LibraryStateLock { get; }
Property Value
Type | Description |
---|---|
System.Threading.ReaderWriterLockSlim |
Methods
| Improve this Doc View SourceGoLive(ILibraryState)
Goes live with a specified ILibraryState instance.
Declaration
void GoLive(ILibraryState libraryState)
Parameters
Type | Name | Description |
---|---|---|
ILibraryState | libraryState | Specifies an ILibraryState instance to go live with. |
Remarks
It can be assumed that the specified ILibraryState instance is fully initialized.
This method makes it possible to encapsulate the final steps that are required to set an initialized library state as the effective library state.