コード例 #1
0
        public JavaScriptLintFeature(
            IProjectService projectService,
            JavaScriptCodeStyleFeature javaScriptCodeStyleFeature,
            JavaScriptHintFeature javaScriptHintFeature,
            TypeScriptFeature typeScriptFeature)
            : base(projectService)
        {
            this.javaScriptCodeStyleFeature = javaScriptCodeStyleFeature;
            this.javaScriptHintFeature = javaScriptHintFeature;
            this.typeScriptFeature = typeScriptFeature;

            this.javaScriptCodeStyleFeature.PropertyChanged += this.OnOtherFeaturePropertyChanged;
            this.javaScriptHintFeature.PropertyChanged += this.OnOtherFeaturePropertyChanged;
            this.typeScriptFeature.PropertyChanged += this.OnOtherFeaturePropertyChanged;
        }
コード例 #2
0
        public JavaScriptLintFeature(
            IProjectService projectService,
            JavaScriptCodeStyleFeature javaScriptCodeStyleFeature,
            JavaScriptHintFeature javaScriptHintFeature,
            TypeScriptFeature typeScriptFeature)
            : base(projectService)
        {
            this.javaScriptCodeStyleFeature = javaScriptCodeStyleFeature;
            this.javaScriptHintFeature      = javaScriptHintFeature;
            this.typeScriptFeature          = typeScriptFeature;

            this.javaScriptCodeStyleFeature.PropertyChanged += this.OnOtherFeaturePropertyChanged;
            this.javaScriptHintFeature.PropertyChanged      += this.OnOtherFeaturePropertyChanged;
            this.typeScriptFeature.PropertyChanged          += this.OnOtherFeaturePropertyChanged;
        }