mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* TableRowsCollectionEditor.cs
: Completed.
* TODO : Updated information.
svn path=/trunk/mcs/; revision=8044
38 lines
901 B
C#
Executable File
38 lines
901 B
C#
Executable File
/**
|
|
* Namespace: System.Web.UI.Design.WebControls
|
|
* Class: TableRowsCollectionEditor
|
|
*
|
|
* Author: Gaurav Vaish
|
|
* Maintainer: mastergaurav AT users DOT sf DOT net
|
|
*
|
|
* (C) Gaurav Vaish (2002)
|
|
*/
|
|
|
|
using System;
|
|
using System.ComponentModel.Design;
|
|
using System.Reflection;
|
|
|
|
namespace System.Web.UI.Design.WebControls
|
|
{
|
|
public class TableRowsCollectionEditor : CollectionEditor
|
|
{
|
|
public TableRowsCollectionEditor(Type type) : base(type)
|
|
{
|
|
}
|
|
|
|
protected override bool CanSelectMultipleInstances()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
protected override object CreateInstance(Type itemType)
|
|
{
|
|
return Activator.CreateInstance(itemType,
|
|
BindingFlags.CreateInstance |
|
|
BindingFlags.Instance |
|
|
BindingFlags.Public,
|
|
null, null, null);
|
|
}
|
|
}
|
|
}
|