Show / Hide Table of Contents

# Interface IPluginConfiguration

Plugin configuration interface.

Implementations should be linked to corresponding IPluginProvider<TConfig> via PluginProviderTypeAttribute. Example plugin implementation:

    [PluginProviderType(typeof(MyPluginProvider))]
    class MyPluginConfig : IPluginConfiguration
    {
        int CustomProperty { get; set; }
    }

    class MyPluginProvider : IPluginProvider<MyPluginConfig>
    {
        ...
    }

###### Namespace: Apache.Ignite.Core.Plugin

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IPluginConfiguration

### Properties

#### PluginConfigurationClosureFactoryId

Gets the id to locate PlatformPluginConfigurationClosureFactory on Java side and read the data written by WriteBinary(IBinaryRawWriter) method.

##### Declaration

    int ? PluginConfigurationClosureFactoryId { get; }

##### Property Value

Type | Description
--- | ---
System.Nullable<System.Int32> |

### Methods

#### WriteBinary(IBinaryRawWriter)

Writes this instance to a raw writer. This method will be called when PluginConfigurationClosureFactoryId is not null to propagate configuration to the Java side.

##### Declaration

    void WriteBinary(IBinaryRawWriter writer)

##### Parameters

Type | Name | Description
--- | --- | ---
IBinaryRawWriter | writer | The writer.