mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* AttributeCollection.cs: initialize member variables. * RefreshEventArgs.cs: implemented. * RefreshEventHandler.cs: New file. * TypeDescriptor.cs: fully stubbed out the remaining method. svn path=/trunk/mcs/; revision=5633
45 lines
715 B
C#
45 lines
715 B
C#
//
|
|
// System.ComponentModel.RefreshEventArgs
|
|
//
|
|
// Author:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
public class RefreshEventArgs : EventArgs
|
|
{
|
|
private object component;
|
|
private Type type;
|
|
|
|
public RefreshEventArgs (object componentChanged)
|
|
{
|
|
if (componentChanged == null)
|
|
throw new ArgumentNullException ("componentChanged");
|
|
|
|
component = componentChanged;
|
|
type = component.GetType ();
|
|
}
|
|
|
|
public RefreshEventArgs (Type typeChanged)
|
|
{
|
|
type = typeChanged;
|
|
}
|
|
|
|
public object ComponentChanged
|
|
{
|
|
get { return component; }
|
|
}
|
|
|
|
public Type TypeChanged
|
|
{
|
|
get { return type; }
|
|
}
|
|
}
|
|
}
|
|
|