public SweaDependencies(AttributedTypesCache cache) { myCache = cache; }
public MarksService(AttributedTypesCache cache, DependencyStore dependencyStore, ISettingsStore settingsStore, Lifetime lifetime) { myCache = cache; myDependencyStore = dependencyStore; Enabled = settingsStore.BindToContextLive(lifetime, ContextRange.ApplicationWide).GetValueProperty <bool>(lifetime, settingsStore.Schema.GetScalarEntry((ZoneSettings settings) => settings.CheckZones), null); }