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;
 }        
 public ICompletionDataProvider enableCodeComplete()
 {
     return o2CodeCompletion ?? (o2CodeCompletion = new O2CodeCompletion(tecSourceCode));
 }
 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;
 }