|   | Common | 
 Inheritance Hierarchy
Inheritance Hierarchy
         Syntax
Syntaxpublic abstract class CommonHeaderBase<TTypeIdentifier> : ICommonHeader<TTypeIdentifier>
The CommonHeaderBaseTTypeIdentifier type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CommonHeaderBaseTTypeIdentifier | Initializes a new instance of the CommonHeaderBaseTTypeIdentifier class | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | State | Gets or sets any additional state information that might be needed for parsing. | 
|  | TypeID | Gets or sets the identifier used for identifying the Type to be parsed. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object) | 
|  | GetType | Gets the Type of the current instance. (Inherited from Object) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | GetEnumValueOrDefault | Gets the enumeration constant for value, if defined in the enumeration, or a default value. (Defined by EnumExtensions) | 
|  | GetEnumValueOrDefaultT | Gets the enumeration constant for this value, if defined in the enumeration, or a default value. (Defined by EnumExtensions) | 
 Remarks
Remarkspublic CommonHeader(object state, byte[] binaryImage, int startIndex, int length) { if (length > 3) { TypeID = LittleEndian.ToInt32(binaryImage, startIndex); State = state; } else throw new InvalidOperationException("Malformed image"); }
 See Also
See Also