Ejemplo n.º 1
0
        public override ILanguageService CreateLanguageService(ref Guid guid)
        {
            if (this.specSharpVsLanguageService == null)
            {
                this.specSharpVsLanguageService = new VsLanguageService();
            }
#if Xaml
            if (guid == typeof(Microsoft.XamlCompiler.VsLanguageService).GUID)
            {
                return(new Microsoft.XamlCompiler.VsLanguageService(this.specSharpVsLanguageService));
            }
#endif
            return(this.specSharpVsLanguageService);
        }
Ejemplo n.º 2
0
    public override ILanguageService CreateLanguageService(ref Guid guid){
      if (this.specSharpVsLanguageService == null)
        this.specSharpVsLanguageService = new VsLanguageService();
#if Xaml
      if (guid == typeof(Microsoft.XamlCompiler.VsLanguageService).GUID)
        return new Microsoft.XamlCompiler.VsLanguageService(this.specSharpVsLanguageService);
#endif
      return this.specSharpVsLanguageService;
    }