public ClientRoom(Contexts contexts) { _logger.InfoFormat("Platform Endianness is little = {0}", BitConverter.IsLittleEndian); _contexts = contexts; if (SharedConfig.InSamplingMode || SharedConfig.InLegacySampleingMode) { _clientSessionStateMachine = new ClientProfileSessionStateMachine(_contexts); } else { _clientSessionStateMachine = new ClientSessionStateMachine(_contexts); } SingletonManager.Get <MyProfilerManager>().Contexts = _contexts; _commandHandler = new DebugCommandHandler(_clientSessionStateMachine, _contexts); }
public void Initialize(IDebugCommandHandler debugCommandHandler, DebugCommandCollection commandCollection) { _debugCommandHandler = debugCommandHandler; _commandCollection = commandCollection; }