T_WolfCurses_Form_ParentWindowAttribute - Maxwolf/WolfCurses GitHub Wiki

ParentWindowAttribute Class

Used to map game Windows states to their respective parent modes by Windows type enumeration value. All of this is done by the state factory which is called by the base simulation whom also keeps track of all the game modes in similar manner. After startup we will add to that data by telling what possible states may exist for a particular game Windows and what user data IModeInfo object will be created.

Inheritance Hierarchy

System.Object
  System.Attribute
    WolfCurses.Form.ParentWindowAttribute
Namespace: WolfCurses.Form
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public sealed class ParentWindowAttribute : Attribute

The ParentWindowAttribute type exposes the following members.

Constructors

 

Name Description
Public method ParentWindowAttribute Initializes a new instance of the ParentWindowAttribute class.
  Back to Top

Properties

 

Name Description
Public property ParentWindow Defines what the parent game mode of this particular state should be.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
  Back to Top

Methods

 

Name Description
Public method Equals Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from Attribute.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method ToDescriptionAttribute Attempts to grab description attribute from any object. (Defined by AttributeExtensions.)
  Back to Top

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

WolfCurses.Form Namespace

⚠️ **GitHub.com Fallback** ⚠️