C# Class WizardWrx.ReportDetails

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

Public Methods

Method 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

Method Description
GetLongestDisplayValue ( ) : int
GetLongestLabel ( ) : int

Method Details

Add() public method

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. ///
return void

ListAllItems() public method

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

ListAllItems() public method

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. ///
return void

ListAllItemsInArray() public method

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

ReportDetails() public method

Construct an empty list.
public ReportDetails ( ) : System
return System

ReportDetails() public method

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. ///
return System

ReportDetails() public method

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. ///
return System