示例#1
0
 public EmbeddedConfigurator(AppDomainSetup setup)
 {
     domain  = AppDomain.CreateDomain("EmbeddedOrleans", null, setup ?? AppDomain.CurrentDomain.SetupInformation);
     client  = new ClientConfigurator();
     cluster = (ClusterConfigurator)domain.CreateInstanceAndUnwrap(
         GetType().Assembly.FullName, typeof(ClusterConfigurator).FullName, false,
         BindingFlags.NonPublic | BindingFlags.Instance, null,
         new object[0], null, null);
 }
        internal AzureClusterActorSystem(ClusterConfigurator cluster, string deploymentId, string connectionString)
        {
            ClusterActorSystem.Current = this;

            this.cluster = cluster;
            this.deploymentId = deploymentId;
            this.connectionString = connectionString;

            host = new AzureSilo();
        }
 public EmbeddedConfigurator()
 {
     client  = new ClientConfigurator();
     cluster = new ClusterConfigurator();
 }
 internal AzureClusterActorSystem(ClusterConfigurator cluster)
 {
     ClusterActorSystem.Current = this;
     this.cluster = cluster;
     host = new AzureSilo();
 }