コード例 #1
0
ファイル: Helpers.cs プロジェクト: Plankankul/SpecSharp
 public override Microsoft.VisualStudio.Package.AuthoringScope ParseSource(string text, int line, int col, string fname,
                                                                           Microsoft.VisualStudio.Package.AuthoringSink aSink, Microsoft.VisualStudio.Package.ParseReason reason)
 {
     lock (ProjectManager.BuildLock){
         Cci.AuthoringSink  scAsink     = new AuthoringSink(aSink);
         Cci.AuthoringScope scAuthScope =
             this.scLanguageService.ParseSource(text, line, col, fname, scAsink, (Cci.ParseReason)reason);
         return(new AuthoringScope(scAuthScope, this.glyphProvider));
     }
 }
コード例 #2
0
ファイル: Helpers.cs プロジェクト: Plankankul/SpecSharp
 public AuthoringScope(Cci.AuthoringScope authoringScope, GlyphProvider glyphProvider)
 {
     this.scAuthoringScope = authoringScope;
     this.glyphProvider    = glyphProvider;
 }