protected override void AfterContainerCreated() { var host = Kernel.GetSubSystem(SubSystemConstants.DiagnosticsKey) as IDiagnosticsHost; #if SILVERLIGHT host.AddDiagnostic<IDuplicatedDependenciesDiagnostic>(new DuplicatedDependenciesDiagnostic(Kernel)); #endif diagnostic = host.GetDiagnostic<IDuplicatedDependenciesDiagnostic>(); }
protected override void AfterContainerCreated() { var host = Kernel.GetSubSystem(SubSystemConstants.DiagnosticsKey) as IDiagnosticsHost; #if SILVERLIGHT host.AddDiagnostic <IDuplicatedDependenciesDiagnostic>(new DuplicatedDependenciesDiagnostic(Kernel)); #endif _diagnostic = host.GetDiagnostic <IDuplicatedDependenciesDiagnostic>(); }
protected override void AfterContainerCreated() { var host = Kernel.GetSubSystem(SubSystemConstants.DiagnosticsKey) as IDiagnosticsHost; diagnostic = host.GetDiagnostic <IDuplicatedDependenciesDiagnostic>(); }