public abstract void Initialize( XmlElement configurationElement, DataCollectionEvents events, DataCollectionSink dataSink, DataCollectionLogger logger, DataCollectionEnvironmentContext environmentContext );
/// <summary> /// Creates an environment context for a local (hosted) agent and controller /// </summary> /// <param name="sessionDataCollectionContext">Session level data collection context.</param> /// <returns>An environment context for a local (hosted) agent and controller</returns> public static DataCollectionEnvironmentContext CreateForLocalEnvironment(DataCollectionContext sessionDataCollectionContext) { var dataCollectionEnvironmentContext = new DataCollectionEnvironmentContext(); dataCollectionEnvironmentContext.SessionDataCollectionContext = sessionDataCollectionContext; return(dataCollectionEnvironmentContext); }