C# Class ASR.Interface.DisplayElement

Afficher le fichier Open project: Sitecore/AdvancedSystemReporter Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
DisplayElement ( object element ) : System

Method Details

AddColumn() public méthode

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

GetColumnNames() public méthode

public GetColumnNames ( ) : IEnumerable
Résultat IEnumerable

GetColumnValue() public méthode

Queries the value of a particular column
public GetColumnValue ( string name ) : string
name string name of the colmn
Résultat string

HasColumn() public méthode

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