Click or drag to resize
IFormattingItemFactory Interface
This factory can be used to construct formatting items from name/value pair strings, e.g. when de-serializing formatting information.

Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface IFormattingItemFactory

The IFormattingItemFactory type exposes the following members.

Methods
  NameDescription
Public methodCreateFormatting
Creates a new empty formatting collection.
Public methodCreateFormattingItem
Instantiates the most appropriate formatting item derived class and initializes it with the specified value.
Top
Remarks

The Sdl.FileTypeSupport.Framework.Core.Utilities.Formatting.FormattingItemFactory class provides a default implementation of this interface, and it supports all strongly typed, well-known formatting types, as defined in the IFormattingVisitor. The default factory uses UnknownFormatting for anything else.

If you define your own additional formatting types, you can implement your own factory to ensure that these types are used during de-serialization.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments