Interface IGenericTypeProvider
Must be implemetd by the component which want to provide the Generic Types of multiple parameters
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IGenericTypeProvider
CheckIfSerializable(Type, FieldInfo)
Provide custom implementation of this method to return true or false on the basis of whether you want to serialize the specific FieldInfo of specific Type
Declaration
bool CheckIfSerializable(Type type, FieldInfo fieldInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | |
System.Reflection.FieldInfo | fieldInfo |
Returns
Type | Description |
---|---|
System.Boolean | bool |
GetGenericTypes()
Client has to provide the implementation of this method, and he/she has to fill the array with the desire generic types and return it to us.
Declaration
Type[] GetGenericTypes()
Returns
Type | Description |
---|---|
System.Type[] | System.Type[] |