Click or drag to resize
AbstractFormattingItem Class
Abstract base class for formatting items; provides a default implementation of the IFormattingItem interface, implements Equals(Object) and GetHashCode using the FormattingName and StringValue.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.FormattingAbstractFormattingItem
    More...

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
[SerializableAttribute]
public abstract class AbstractFormattingItem : IFormattingItem, 
	ICloneable

The AbstractFormattingItem type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractFormattingItem
Initializes a new instance of the AbstractFormattingItem class
Top
Properties
  NameDescription
Public propertyFormattingName
The name of this type of formatting. The default implementation returns the type name of the actual class, but this can be overridden in derived classes.

The name may be used as an attribute name when storing this formatting in XML format, in which case the value of the attribute represents the StringValue property.

Public propertyLocalizedFormattingName
A localized representation of the formatting name; the default implementation returns FormattingName.
Public propertyLocalizedStringValue
A localized representation of the formatting value. The default implementation returns StringValue.
Public propertyStringValue
The value this formatting represents as a string. Derived formatting classes should allow their entire value to be retrieved and set through this property.

The name and string value may be used for storing formatting as an XML attribute with a value.

Top
Methods
  NameDescription
Public methodAcceptVisitor
Implementation of the visitor pattern.

Derived formatting classes should implement this by calling into the appropriate method on the visitor.

Public methodClone
Must be overridden in all directly and indirectly derived classes to return objects of the correct type.
Public methodEquals
Compares the name and value properties of the objects.
(Overrides ObjectEquals(Object).)
Protected methodStatic memberGetDefaultName
The default name for an IFormattingItem type
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodToString
For debugging; returns "FormattingName = StringValue".
(Overrides ObjectToString.)
Top
See Also
Inheritance Hierarchy
Community
Edit

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