C# Class ASR.Interface.DisplayElement

Show file Open project: Sitecore/AdvancedSystemReporter Class Usage Examples

Public Methods

Method Description
AddColumn ( string name, string value ) : void

Add a new column value to this element

GetColumnNames ( ) : IEnumerable

GetColumnValue ( string name ) : string

Queries the value of a particular column

HasColumn ( string name ) : bool

Checks if a column name has also been added. You cannot repeat column names

Private Methods

Method Description
DisplayElement ( object element ) : System

Method Details

AddColumn() public method

Add a new column value to this element
public AddColumn ( string name, string value ) : void
name string
value string
return void

GetColumnNames() public method

public GetColumnNames ( ) : IEnumerable
return IEnumerable

GetColumnValue() public method

Queries the value of a particular column
public GetColumnValue ( string name ) : string
name string name of the colmn
return string

HasColumn() public method

Checks if a column name has also been added. You cannot repeat column names
public HasColumn ( string name ) : bool
name string
return bool