public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new BitmapLockProxy((IBitmapLock)objectRef, proxyOptions);
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new TessellationSinkProxy((ITessellationSink)objectRef, proxyOptions);
public TextLayoutProxy(ITextLayout objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new TypographyProxy((ITypography)objectRef, proxyOptions);
public MetadataQueryReaderProxy(IMetadataQueryReader objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new ObjectRefEnumerableProxy((IObjectRefEnumerable)objectRef, proxyOptions);
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new AnimationManagerProxy((IAnimationManager)objectRef, proxyOptions);
public StringEnumerableProxy(IStringEnumerable objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new Device1Proxy((IDevice1)objectRef, proxyOptions);
public SynchronizationContextProxy(ISynchronizationContext objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public DrawingStateBlockProxy(IDrawingStateBlock objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new DrawingStateBlockProxy((IDrawingStateBlock)objectRef, proxyOptions);
public SolidColorBrushProxy(ISolidColorBrush objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public FontListProxy(IFontList objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public PixelFormatInfoProxy(IPixelFormatInfo objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new GeometryProxy((IGeometry)objectRef, proxyOptions);
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new LayerProxy((ILayer)objectRef, proxyOptions);
public static ObjectRefProxy Create(Type interfaceType, IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) { Validate.Begin().IsNotNull<Type>(interfaceType, "interfaceType").IsNotNull<IObjectRef>(objectRef, "objectRef").Check(); if (interfaceType.ContainsGenericParameters) { ExceptionUtil.ThrowArgumentException($"Only closed generic interface types are allowed (interfaceType = '{interfaceType.FullName}')"); } if (interfaceType == typeof(IObjectRef)) { return new ObjectRefProxy(objectRef, proxyOptions); } ObjectRefProxyFactory orAdd = null; if (!staticInterfaceTypeToProxyFactoryMap.TryGetValue(interfaceType, out orAdd) && !dynamicInterfaceTypeToProxyFactoryMap.TryGetValue(interfaceType, out orAdd)) { orAdd = dynamicInterfaceTypeToProxyFactoryMap.GetOrAdd(interfaceType, createProxyFactory); if (orAdd.IsNullReference<ObjectRefProxyFactory>()) { ExceptionUtil.ThrowInvalidOperationException($"There is no proxy registered for '{interfaceType.FullName}'"); } } return orAdd.CreateProxy(objectRef, proxyOptions); }
public TransformedGeometryProxy(ITransformedGeometry objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public ImagingFactoryProxy(IImagingFactory objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new DxgiResourceProxy((IDxgiResource)objectRef, proxyOptions);
public DxgiObjectProxy(IDxgiObject objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public BitmapProxy(IBitmap objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new PathGeometry1Proxy((IPathGeometry1)objectRef, proxyOptions);
public DxgiDeviceProxy(IDxgiDevice objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new AnimationVariableProxy((IAnimationVariable)objectRef, proxyOptions);
public PropertyBag2Proxy(IPropertyBag2 objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public Direct2DFactoryProxy(IDirect2DFactory objectRef, ObjectRefProxyOptions proxyOptions) : base(objectRef, proxyOptions) { }
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new Direct2DFactory1Proxy((IDirect2DFactory1)objectRef, proxyOptions);
public override ObjectRefProxy CreateProxy(IObjectRef objectRef, ObjectRefProxyOptions proxyOptions) => new DirectWriteObjectProxy((IDirectWriteObject)objectRef, proxyOptions);