public DaemonProfilingStrategy(Application application, IProfilingTypeCollection profilingTypes) { _agentLibrary = new AgentLibrary(); _application = application; _profilingTypes = profilingTypes; SessionState = SessionState.Profiling; }
public NativeGatewayServer(IAgentLibrary agentLibrary, Guid sessionUid, GatewaySettings gatewaySettings) { _disposableTracker = new DisposableTracker(this); _agentLibrary = agentLibrary; _gatewaySettings = gatewaySettings; _token = agentLibrary.GatewayServerCreate(sessionUid); _handlers = new Dictionary <byte, INativeDataHandler>(); }