IXamlObjectWriterFactory Interface

.NET Framework (current version)
 

Represents a service that generates a XamlObjectWriter that is based on the current internal parser context.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public interface IXamlObjectWriterFactory

NameDescription
System_CAPS_pubmethodGetParentSettings()

Returns the XamlObjectWriterSettings from the original internal parser context.

System_CAPS_pubmethodGetXamlObjectWriter(XamlObjectWriterSettings)

Returns a XamlObjectWriter that is based on active XAML schema context.

An internal factory class implements this service for .NET Framework XAML Services. By obtaining the service from an existing XAML object writer, you can call GetXamlObjectWriter to construct a new compatible XAML object writer. The factory-constructed object writer can resume writing to the object graph after the first write operation is suspended.

.NET Framework
Available since 4.0
Return to top
Show: