Click or drag to resize
FormattingItemFactory Class
Default implementation of the IFormattingItemFactory interface. Supports all formatting items that are defined in this assembly.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.Core.Utilities.FormattingFormattingItemFactory

Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public class FormattingItemFactory : IFormattingItemFactory

The FormattingItemFactory type exposes the following members.

Constructors
  NameDescription
Public methodFormattingItemFactory
Initializes a new instance of the FormattingItemFactory class
Top
Methods
  NameDescription
Public methodCreateFormatting
Creates a new, empty formatting item collection.
Public methodCreateFormattingItem
Default implementation, which compares the name against all known formatting types, instantiates a corresponding object, and sets its value from the string.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
If you are extending the formatting items with more known types, you can derive a new factory from this class to ensure that those types get instantiated as appropriate.
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments