Guest User

Untitled

a guest
Jun 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. using namespace System::Collections::Generic;
  2. generic<class InnerT> public ref class MyList : public System::Collections::IList, IList<InnerT> {
  3. // ...
  4. property InnerT default[int]{
  5. virtual InnerT get(int index);
  6. virtual void set(int index, InnerT item);
  7. }
  8. }
  9.  
  10. property Object^ System::Collections::IList::default[int]{
  11. virtual Object^ System::Collections::IList::get(int index);
  12. virtual void System::Collections::IList::set(int index, Object^ item);
  13. }
  14.  
  15. property Object^ default[int] = System::Collections::IList::default {... }
  16.  
  17. property Object^ IListItems[int]{
  18. virtual Object^ get(int index) = System::Collections::IList::default::get;
  19. virtual void set(int index, Object^ item) = System::Collections::IList::default::set;
  20. }
  21.  
  22. T System::Collections::Generic::IList<T>::get_Item(Int32 __gc* index)
  23. {
  24. //
  25. }
  26.  
  27. void __gc* System::Collections::Generic::IList<T>::set_Item(Int32 __gc* index, T value)
  28. {
  29. //
  30. }
Add Comment
Please, Sign In to add comment