protected override object NewDelegate(NewCodeElementItemParams newItemParams, string path)
 {
     return(_codeClass.AddDelegate(path,
                                   newItemParams.MemberType,
                                   newItemParams.Position,
                                   newItemParams.AccessKind
                                   ));
 }
Esempio n. 2
0
 public ShellCodeDelegate AddDelegate(string Name, object Type, object Position, vsCMAccess Access)
 {
     return(new ShellCodeDelegate(_codeClass.AddDelegate(Name, Type, Position, Access) as CodeDelegate2));
 }