public Kernel(Configuration.ICoreConfiguration configuration, Communication.ICoreService service) { if (configuration == null) { throw new ArgumentException("configuration object must be provided", "configuration"); } this.state = KernelState.initializing; this.configuration = configuration; this.service = service ?? this; this.backends = new Dictionary <Core.Identity.DomainIdentity, Backend.Infrastructure.IBackend>(); this.observableUserIdentities = new ObservableCollection <Identity.UserIdentity>(); }
public Kernel(Configuration.ICoreConfiguration configuration) : this(configuration, null) { }