Exemplo n.º 1
0
        static void Main(string[] args)
        {
            ContainerId = args[0];

            ChannelFactory <IRoleEnvironment> factory = new ChannelFactory <IRoleEnvironment>(new NetTcpBinding(), new EndpointAddress("net.tcp://localhost:11001/IRoleEnvironment"));

            proxy = factory.CreateChannel();


            OpenServiceHost($"100{ContainerId}0");
            //BrotherInstance();

            Console.ReadKey();
        }
        public NeoServer(
            NeoServerConfiguration configuration,
            IRoleEnvironment roleEnvironment,
            ICloudBlobClient cloudBlobClient,
            IFileSystem fileSystem,
            IZipHandler zipHandler)
        {
            this.configuration = configuration;
            this.roleEnvironment = roleEnvironment;
            this.cloudBlobClient = cloudBlobClient;
            this.fileSystem = fileSystem;
            this.zipHandler = zipHandler;

            Loggers = new List<ILogger>(new[] { new TraceLogger() });
        }
 public HomeIndexViewModel Build(IRoleEnvironment roleEnvironment)
 {
 }