linux-packaging-mono/mcs/tests/gtest-233-lib.cs

19 lines
401 B
C#
Raw Normal View History

// Compiler options: /t:library
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
public class MyClass<TItem>
{
public MyClass() { }
public event ListChangedEventHandler ListChanged;
public void AddListChangedEventHandler (ListChangedEventHandler handler)
{
ListChanged += handler;
}
protected void OnListChanged (ListChangedEventArgs e) {}
}