C# Class RockWeb.Plugins.org_newpointe.Shape.ShapeResults

Inheritance: Rock.Web.UI.RockBlock
Show file Open project: NewPointe/Rockit

Public Properties

Property Type Description
Ability1 int
Ability2 int
PersonEncodedKey string
SelectedPerson Person
SpiritualGift1 int
SpiritualGift2 int
SpiritualGift3 int
SpiritualGift4 int

Public Methods

Method Description
Base64Decode ( string base64EncodedData ) : string

Protected Methods

Method Description
GetPersonFromForm ( string formId ) : Person
GetPersonFromId ( string PersonId ) : Person
Page_Load ( object sender, EventArgs e ) : void
lbSaveAccount_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSaveAccount control.

Private Methods

Method Description
ShowExplaination ( string personalityType ) : void

Shows the explaination for the given personality type as defined in one of the DefinedValues of the DISC Results DefinedType.

ShowResults ( DiscService savedScores ) : void

Shows the results of the assessment test.

Method Details

Base64Decode() public static method

public static Base64Decode ( string base64EncodedData ) : string
base64EncodedData string
return string

GetPersonFromForm() protected method

protected GetPersonFromForm ( string formId ) : Person
formId string
return Person

GetPersonFromId() protected method

protected GetPersonFromId ( string PersonId ) : Person
PersonId string
return Person

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbSaveAccount_Click() protected method

Handles the Click event of the lbSaveAccount control.
protected lbSaveAccount_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Property Details

Ability1 public property

public int Ability1
return int

Ability2 public property

public int Ability2
return int

PersonEncodedKey public property

public string PersonEncodedKey
return string

SelectedPerson public property

public Person SelectedPerson
return Person

SpiritualGift1 public property

public int SpiritualGift1
return int

SpiritualGift2 public property

public int SpiritualGift2
return int

SpiritualGift3 public property

public int SpiritualGift3
return int

SpiritualGift4 public property

public int SpiritualGift4
return int