protected override object NewMethod(NewCodeElementItemParams newItemParams, string path) { return(_interface.AddFunction(path, newItemParams.FunctionKind, newItemParams.MemberType, newItemParams.Position, newItemParams.AccessKind)); }
public ShellCodeMethod AddFunction(string Name, vsCMFunction Kind, object Type, object Position, vsCMAccess Access) { return(new ShellCodeMethod(_codeInterface.AddFunction(Name, Kind, Type, Position, Access) as CodeFunction2)); }