Class CustomDependency
CustomDependency represents the information to be passed to IExtensibleDependencyProvider
Inherited Members
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class CustomDependency : CacheDependency, IDisposable, IBinaryProtocolSerializable
Constructors
CustomDependency(String)
Creates an instance of CustomDependency.
Declaration
public CustomDependency(string providerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | providerName | Name of the the Extensible Dependency Provider. |
CustomDependency(String, IDictionary<String, String>)
Constructor overload of CustomDependency class that takes provider name and dictionary of key/value pairs to create an instance of the CustomDependency.
Declaration
public CustomDependency(string providerName, IDictionary<string, string> parameters)
Parameters
Type | Name | Description |
---|---|---|
System.String | providerName | Name of the Extensible Dependency Provider. |
System.Collections.Generic.IDictionary<System.String, System.String> | parameters | Collection of parameters in key/value pair to be passed to Extensible Dependency Provider. |
Properties
Parameters
Gets the parameter dictionary to be passed to Extensible Dependency Provider.
Declaration
public IDictionary<string, string> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | Parameters dictionary passed to create dependency along with provider name. |
ProviderName
Gets the name of the Extensible Dependency Provider.
Declaration
public string ProviderName { get; }
Property Value
Type | Description |
---|---|
System.String | Dictionary of parameters passed to create dependency along with provider name. |