Freeze() приватный Метод

private Freeze ( ) : void
Результат void
Пример #1
0
        public ScriptDomainManager(DynamicRuntimeHostingProvider hostingProvider, DlrConfiguration configuration) {
            ContractUtils.RequiresNotNull(hostingProvider, "hostingProvider");
            ContractUtils.RequiresNotNull(configuration, "configuration");

            configuration.Freeze();

            _hostingProvider = hostingProvider;
            _configuration = configuration;

            _sharedIO = new SharedIO();

            // create the initial default scope
            _globals = new Scope();
        }
Пример #2
0
        public ScriptDomainManager(DynamicRuntimeHostingProvider hostingProvider, DlrConfiguration configuration)
        {
            ContractUtils.RequiresNotNull(hostingProvider, nameof(hostingProvider));
            ContractUtils.RequiresNotNull(configuration, nameof(configuration));

            configuration.Freeze();

            Host          = hostingProvider;
            Configuration = configuration;

            SharedIO = new SharedIO();

            // create the initial default scope
            Globals = new Scope();
        }
Пример #3
0
        public ScriptDomainManager(DynamicRuntimeHostingProvider hostingProvider, DlrConfiguration configuration)
        {
            ContractUtils.RequiresNotNull(hostingProvider, "hostingProvider");
            ContractUtils.RequiresNotNull(configuration, "configuration");

            configuration.Freeze();

            _hostingProvider = hostingProvider;
            _configuration   = configuration;

            _sharedIO = new SharedIO();

            // create the initial default scope
            _globals = new Scope();
        }