C# Class Smrf.NodeXL.ExcelTemplate.AutoFillColorColumnResults

Stores one color column of the results of a call to .
Inheritance: AutoFillColumnResults
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_bSourceColumnContainsNumbers System.Boolean
m_oCategoryNames ICollection
m_oDestinationColor1 Color
m_oDestinationColor2 Color

Public Methods

Method Description
AssertValid ( ) : void
AutoFillColorColumnResults ( ) : System

Initializes a new instance of the class with default values that indicate that the column wasn't autofilled.

AutoFillColorColumnResults ( System.Boolean sourceColumnContainsNumbers, String sourceColumnName, Double sourceCalculationNumber1, Double sourceCalculationNumber2, Int32 decimalPlaces, Color destinationColor1, Color destinationColor2, ICollection categoryNames ) : System

Initializes a new instance of the class with specified values.

ConvertFromString ( String asFields, Int32 iStartIndex ) : Int32
ConvertToString ( ) : String

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

AutoFillColorColumnResults() public method

Initializes a new instance of the class with default values that indicate that the column wasn't autofilled.
public AutoFillColorColumnResults ( ) : System
return System

AutoFillColorColumnResults() public method

Initializes a new instance of the class with specified values.
public AutoFillColorColumnResults ( System.Boolean sourceColumnContainsNumbers, String sourceColumnName, Double sourceCalculationNumber1, Double sourceCalculationNumber2, Int32 decimalPlaces, Color destinationColor1, Color destinationColor2, ICollection categoryNames ) : System
sourceColumnContainsNumbers System.Boolean /// true if the source column contains numbers, false if it contains /// categories. ///
sourceColumnName String /// Name of the source column, or null if the column wasn't autofilled. /// Used only if is true. ///
sourceCalculationNumber1 Double /// The actual first source number used in the calculations. /// Used only if is true. ///
sourceCalculationNumber2 Double /// The actual second source number used in the calculations. /// Used only if is true. ///
decimalPlaces System.Int32 /// The number of decimal places displayed in the column. /// Used only if is true. ///
destinationColor1 Color /// The first color used in the destination column. /// Used only if is true. ///
destinationColor2 Color /// The second color used in the destination column. /// Used only if is true. ///
categoryNames ICollection /// Collection of category names from the source column. Used only if /// is false, in which case /// it can be empty but not null. ///
return System

ConvertFromString() public method

public ConvertFromString ( String asFields, Int32 iStartIndex ) : Int32
asFields String
iStartIndex System.Int32
return System.Int32

ConvertToString() public method

public ConvertToString ( ) : String
return String

Property Details

m_bSourceColumnContainsNumbers protected_oe property

protected Boolean,System m_bSourceColumnContainsNumbers
return System.Boolean

m_oCategoryNames protected_oe property

protected ICollection m_oCategoryNames
return ICollection

m_oDestinationColor1 protected_oe property

protected Color m_oDestinationColor1
return Color

m_oDestinationColor2 protected_oe property

protected Color m_oDestinationColor2
return Color