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