public ShellCodeStruct AddStruct(string Name, object Position, object Bases, object ImplementedInterfaces, vsCMAccess Access) { return (new ShellCodeStruct( _codeClass.AddStruct(Name, Position, Bases, ImplementedInterfaces, Access) as CodeStruct2)); }
protected override object NewStruct(NewCodeElementItemParams newItemParams, string path) { return(_codeClass.AddStruct(path, newItemParams.Position, newItemParams.Bases.ToCSVDTEParameter(), newItemParams.ImplementedInterfaces.ToCSVDTEParameter(), newItemParams.AccessKind)); }