Method CreateRef
- Namespace
- PaintDotNet.ComponentModel
- Assembly
- PaintDotNet.ComponentModel.dll
CreateRef<TInterface>(IObjectRef)
public static TInterface CreateRef<TInterface>(this IObjectRef objectRef) where TInterface : class, IObjectRef
Parameters
objectRef
IObjectRef
Returns
- TInterface
Type Parameters
TInterface
CreateRef(IObjectRef)
public static IObjectRef CreateRef(this IObjectRef objectRef)
Parameters
objectRef
IObjectRef
Returns
CreateRef(IObjectRef, Type)
public static IObjectRef CreateRef(this IObjectRef objectRef, Type interfaceType)
Parameters
objectRef
IObjectRefinterfaceType
Type