Smrf.NodeXL.ExcelTemplate.CalculateGraphMetricsContext.CalculateGraphMetricsContext C# (CSharp) Method

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
    public CalculateGraphMetricsContext
    (
        GraphMetricUserSettings graphMetricUserSettings,
        BackgroundWorker backgroundWorker
    )
    {
        m_oGraphMetricUserSettings = graphMetricUserSettings;
        m_oBackgroundWorker = backgroundWorker;

        AssertValid();
    }