C# Class StoryTeller.Model.Option

Exibir arquivo Open project: storyteller/Storyteller Class Usage Examples

Public Properties

Property Type Description
display string
value string

Public Methods

Method Description
Copy ( ) : Option
Equals ( object obj ) : bool
For ( IEnumerable values ) : StoryTeller.Model.Option[]
GetHashCode ( ) : int
Option ( ) : System.Collections.Generic
Option ( string value ) : System.Collections.Generic
Option ( string display, string value ) : System.Collections.Generic
ParseText ( string text ) : StoryTeller.Model.Option[]
ToString ( ) : string
Write ( Option options ) : string

Protected Methods

Method Description
Equals ( Option other ) : bool

Method Details

Copy() public method

public Copy ( ) : Option
return Option

Equals() protected method

protected Equals ( Option other ) : bool
other Option
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

For() public static method

public static For ( IEnumerable values ) : StoryTeller.Model.Option[]
values IEnumerable
return StoryTeller.Model.Option[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

Option() public method

public Option ( ) : System.Collections.Generic
return System.Collections.Generic

Option() public method

public Option ( string value ) : System.Collections.Generic
value string
return System.Collections.Generic

Option() public method

public Option ( string display, string value ) : System.Collections.Generic
display string
value string
return System.Collections.Generic

ParseText() public static method

public static ParseText ( string text ) : StoryTeller.Model.Option[]
text string
return StoryTeller.Model.Option[]

ToString() public method

public ToString ( ) : string
return string

Write() public static method

public static Write ( Option options ) : string
options Option
return string

Property Details

display public_oe property

public string display
return string

value public_oe property

public string value
return string