public CodeCompletionData(IClass c, O2CodeCompletion o2_Code_Completion)  : base(c.Name, null, GetClassImageIndex(c))
 {
     this.c = c;
     o2CodeCompletion = o2_Code_Completion;
 }                
 public CodeCompletionData(IMember member, O2CodeCompletion o2_Code_Completion)            : base(member.Name, null, GetMemberImageIndex(member))
 {
     this.member = member;
     o2CodeCompletion =  o2_Code_Completion;
 }        
コード例 #3
0
 public ICompletionDataProvider enableCodeComplete()
 {
     return o2CodeCompletion ?? (o2CodeCompletion = new O2CodeCompletion(tecSourceCode));
 }
コード例 #4
0
 public O2CodeCompletion enableCodeComplete()
 {
     if (o2CodeCompletion == null)
     {
         o2CodeCompletion = new O2CodeCompletion(tecSourceCode);
     //else
     //{
         o2CodeCompletion.OnlyShowCodeCompleteResulstFromO2Namespace = false;
         compile_Click(null, null);
     }
     return o2CodeCompletion;
 }        
コード例 #5
0
 public CodeCompletionData(IClass c, O2CodeCompletion _o2CodeCompletion)
     : base(c.Name, null, GetClassImageIndex(c))
 {
     this.c           = c;
     o2CodeCompletion = _o2CodeCompletion;
 }
コード例 #6
0
 public CodeCompletionData(IMember member, O2CodeCompletion _o2CodeCompletion)
     : base(member.Name, null, GetMemberImageIndex(member))
 {
     this.member      = member;
     o2CodeCompletion = _o2CodeCompletion;
 }