예제 #1
0
        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>();
        }
예제 #2
0
 public Kernel(Configuration.ICoreConfiguration configuration)
     : this(configuration, null)
 {
 }