• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Interface IGenericTypeProvider

This interface must be implemented by the component that wants to provide generic types for multiple parameters.

Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IGenericTypeProvider

Methods

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

Represents type declarations.

System.Reflection.FieldInfo fieldInfo

Describes the attributes of a field and provides access to field metadata.

Returns
Type Description
System.Boolean

Boolean value, true or false.

GetGenericTypes()

Client has to provide the implementation of this method, and has to fill the array with the desired generic types and return it back.

Declaration
Type[] GetGenericTypes()
Returns
Type Description
System.Type[]

Represents type declarations.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top