mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
namespace System.Web.DynamicData {
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Drawing.Design;
|
|
using System.Security.Permissions;
|
|
using System.Web.UI;
|
|
|
|
/// <summary>
|
|
/// Registers a DataControl for use with Dynamic Data
|
|
/// </summary>
|
|
public class DataControlReference {
|
|
/// <summary>
|
|
/// Dynamic data manager registering the data control
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public DynamicDataManager Owner {
|
|
get;
|
|
internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// ControlID of the DataControl
|
|
/// </summary>
|
|
[
|
|
Category("Behavior"),
|
|
DefaultValue(""),
|
|
IDReferenceProperty(),
|
|
ResourceDescription("DataControlReference_ControlID"),
|
|
TypeConverter("System.Web.DynamicData.Design.DataControlReferenceIDConverter, " + AssemblyRef.SystemWebDynamicDataDesign),
|
|
SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")
|
|
]
|
|
public string ControlID {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
|
|
public override string ToString() {
|
|
if (String.IsNullOrEmpty(ControlID)) {
|
|
return "DataControl";
|
|
}
|
|
else {
|
|
return "DataControl: " + ControlID;
|
|
}
|
|
}
|
|
}
|
|
}
|