C# Class WizardWrx.ReportDetails

This class holds the details for a report. Static object locks are used throughout to ensure synchronized access.
Inheritance: List
Afficher le fichier Open project: txwizard/WizardWrx_NET_API

Méthodes publiques

Méthode Description
Add ( prDtl ) : void

Override the New method in the base class, because it's lots cheaper than using an event.

ListAllItems ( ) : void

List each item in a new line on the system console.

ListAllItems ( TextWriter pswOut ) : void

List each item in a new line on the specified TextWriter.

ListAllItemsInArray ( ) : string[]

Fill an array of strings with report items.

ReportDetails ( ) : System

Construct an empty list.

ReportDetails ( ICollection pICollection ) : System

Construct a list with an initial capacity sufficient to hold the whole ICollection, but check them in one by one.

ReportDetails ( int pintCapacity ) : System

Construct an empty list, with a specified initial capacity.

Private Methods

Méthode Description
GetLongestDisplayValue ( ) : int
GetLongestLabel ( ) : int

Method Details

Add() public méthode

Override the New method in the base class, because it's lots cheaper than using an event.
public Add ( prDtl ) : void
prDtl /// The ReportDetail item to add to the collection. ///
Résultat void

ListAllItems() public méthode

List each item in a new line on the system console.
public ListAllItems ( ) : void
Résultat void

ListAllItems() public méthode

List each item in a new line on the specified TextWriter.
public ListAllItems ( TextWriter pswOut ) : void
pswOut TextWriter /// Specify the open TextWriter on which to write the report. ///
Résultat void

ListAllItemsInArray() public méthode

Fill an array of strings with report items.
public ListAllItemsInArray ( ) : string[]
Résultat string[]

ReportDetails() public méthode

Construct an empty list.
public ReportDetails ( ) : System
Résultat System

ReportDetails() public méthode

Construct a list with an initial capacity sufficient to hold the whole ICollection, but check them in one by one.
public ReportDetails ( ICollection pICollection ) : System
pICollection ICollection /// The collection from which to construct the list. Any member that is /// a ReportDetail is added. Others are discarded, so that the finished /// collection is homogeneous. ///
Résultat System

ReportDetails() public méthode

Construct an empty list, with a specified initial capacity.
public ReportDetails ( int pintCapacity ) : System
pintCapacity int /// Set the initial capacity of the list to this value. ///
Résultat System