C# Class Smrf.NodeXL.ExcelTemplate.CalculateGraphMetricsContext

Provides access to objects needed for calculating graph metrics.
An instance of this class gets passed to .
Inheritance: Object
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oBackgroundWorker System.ComponentModel.BackgroundWorker
m_oGraphMetricUserSettings GraphMetricUserSettings

Public Methods

Method Description
CalculateGraphMetricsContext ( GraphMetricUserSettings graphMetricUserSettings, BackgroundWorker backgroundWorker ) : System

Initializes a new instance of the class.

ShouldCalculateGraphMetrics ( GraphMetrics graphMetrics ) : System.Boolean

Private Methods

Method Description
AssertValid ( ) : void

Method Details

CalculateGraphMetricsContext() public method

Initializes a new instance of the class.
public CalculateGraphMetricsContext ( GraphMetricUserSettings graphMetricUserSettings, BackgroundWorker backgroundWorker ) : System
graphMetricUserSettings GraphMetricUserSettings /// Stores the user's settings for calculating graph metrics. ///
backgroundWorker System.ComponentModel.BackgroundWorker /// The BackgroundWorker object that is performing all graph metric /// calculations. ///
return System

ShouldCalculateGraphMetrics() public method

public ShouldCalculateGraphMetrics ( GraphMetrics graphMetrics ) : System.Boolean
graphMetrics GraphMetrics
return System.Boolean

Property Details

m_oBackgroundWorker protected property

protected BackgroundWorker,System.ComponentModel m_oBackgroundWorker
return System.ComponentModel.BackgroundWorker

m_oGraphMetricUserSettings protected property

protected GraphMetricUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphMetricUserSettings
return GraphMetricUserSettings