mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* ISite.cs: Fixed attributes, fixed header * ITypeDescriptorContext.cs: Fixed attributes, formatting corrections * WarningException.cs: Fixed attributes, formatting corrections * AttributeCollection.cs: Fixed attributes * DesignerSerializationVisibility.cs: Fixed attributes * TypeConverter.cs: Fixed attributes * MarshalByValueComponent.cs: * IComponent.cs: Fixed attributes, supports .Net 1.0 and 1.1 * DescriptionAttribute.cs: * DesignerCategoryAttribute.cs: * DoubleConverter.cs: * EditorBrowsableAttribute.cs: * EventDescriptorCollection.cs: * PropertyChangedEventHandler.cs: * RefreshEventArgs.cs: * StringConverter.cs: * DefaultValueAttribute.cs: Reformatted following style guidelines * License.cs: Removed unused MonoTODOs * LicenseContext.cs: Implemented * LicenseException.cs: Implemented * LicenseProvider.cs: Removed unused MonoTODOs and unneccesary Finalizer * LicenseUsageMode.cs: Fixed enum * RefreshProperties.cs: Fixed enum * LicFileLicenseProvider.cs: Implementation added * ExtenderProvidedPropertyAttribute.cs: Implementation added, formatting corrections * ExpandableObjectConverter.cs: Implemented * ComponentConverter.cs: Implemented svn path=/trunk/mcs/; revision=15865
45 lines
742 B
C#
45 lines
742 B
C#
//
|
|
// System.ComponentModel.RefreshEventArgs.cs
|
|
//
|
|
// 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; }
|
|
}
|
|
}
|
|
}
|
|
|