Open sandboxFocus

Method GetTypeExtension

GetTypeExtension(Type, TypeExtensionCacheUpdateCallback<T>?, Func<T?>?, Action<Exception>?)

Declaration
public TypeExtensionInfo<T> GetTypeExtension(Type objectType, TypeExtensionCacheUpdateCallback<T>? cacheUpdateCallback = null, Func<T?>? createDefault = null, Action<Exception>? onExceptionWhileCreatingTypeExtension = null)
Parameters
Type Name Description
Type objectType
TypeExtensionCacheUpdateCallback<T> cacheUpdateCallback
Func<T> createDefault
Action<Exception> onExceptionWhileCreatingTypeExtension
Returns
Type Description
TypeExtensionInfo<T>