public SessionConfigurationCache(IConfigurationService configurationService, IShellBlueprintFactory blueprintFactory, IUserFolder userfolder, [Import(LogNames.Operations)] ILogWriter logger) : this(configurationService, blueprintFactory.CreateBlueprint(), userfolder) { Logger = logger; }
public SessionFactoryHolder( IConfigurationService configService, [Import(RequiredCreationPolicy = CreationPolicy.Shared)] IShellBlueprintFactory shellBlueprintFactory, IDataServicesProviderFactory dataServicesProviderFactory, IUserFolder userFolder, [Import(RequiredCreationPolicy = CreationPolicy.Shared)] ISessionConfigurationCache sessionConfigurationCache) { ConfigService = configService; ShellBlueprint = shellBlueprintFactory.CreateBlueprint(); BluePrintFactory = () => { shellBlueprintFactory.Reset(); return(shellBlueprintFactory.CreateBlueprint()); }; _dataServicesProviderFactory = dataServicesProviderFactory; _userFolder = userFolder; _sessionConfigurationCache = sessionConfigurationCache; Logger = NullLogger.Instance; }