Ejemplo n.º 1
0
        public TypeScriptProject() : base(true)
        {
            ExcludedFiles     = new List <string>();
            Items             = new ObservableCollection <IProjectItem>();
            References        = new ObservableCollection <IProject>();
            ToolchainSettings = new ExpandoObject();
            DebugSettings     = new ExpandoObject();
            Project           = this;

            var tsContext = new TypeScriptContext();

            tsContext.LoadComponents();
            IoC.RegisterConstant(tsContext, typeof(TypeScriptContext));
            TypeScriptContext = tsContext;
        }