示例#1
0
 public static Les2SyntaxForVS Get(VSImports vs, ITextBuffer buffer)
 {
     return(buffer.Properties.GetOrCreateSingletonProperty <Les2SyntaxForVS>(() => new Les2SyntaxForVS(new VSBuffer(vs, buffer))));
 }
示例#2
0
        [Import] VSImports _vs = null;         // Set via MEF

        public static EcsSyntaxForVS Get(VSImports vs, ITextBuffer buffer)
        {
            return(buffer.Properties.GetOrCreateSingletonProperty <EcsSyntaxForVS>(
                       delegate { return new EcsSyntaxForVS(new VSBuffer(vs, buffer)); }));
        }
示例#3
0
		[Import] VSImports _vs = null; // Set via MEF

		public static EcsSyntaxForVS Get(VSImports vs, ITextBuffer buffer)
		{
			return buffer.Properties.GetOrCreateSingletonProperty<EcsSyntaxForVS>(
				delegate { return new EcsSyntaxForVS(new VSBuffer(vs, buffer)); });
		}
示例#4
0
 public VSBuffer(VSImports vs, ITextBuffer buffer)
 {
     VS = vs; Buffer = buffer;
 }
示例#5
0
文件: VSBuffer.cs 项目: Shaykh/Loyc
		public VSBuffer(VSImports vs, ITextBuffer buffer) { VS = vs; Buffer = buffer; }