Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ui / RegisteredDisposeScript.cs / 1 / RegisteredDisposeScript.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System.Diagnostics;
using System.Security.Permissions;
[
AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
]
public sealed class RegisteredDisposeScript {
private Control _control;
private UpdatePanel _parentUpdatePanel;
private string _script;
internal RegisteredDisposeScript(Control control, string disposeScript, UpdatePanel parentUpdatePanel) {
Debug.Assert(control != null);
Debug.Assert(disposeScript != null);
Debug.Assert(parentUpdatePanel != null);
_control = control;
_script = disposeScript;
_parentUpdatePanel = parentUpdatePanel;
}
public Control Control {
get {
return _control;
}
}
public string Script {
get {
return _script;
}
}
internal UpdatePanel ParentUpdatePanel {
get {
return _parentUpdatePanel;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System.Diagnostics;
using System.Security.Permissions;
[
AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
]
public sealed class RegisteredDisposeScript {
private Control _control;
private UpdatePanel _parentUpdatePanel;
private string _script;
internal RegisteredDisposeScript(Control control, string disposeScript, UpdatePanel parentUpdatePanel) {
Debug.Assert(control != null);
Debug.Assert(disposeScript != null);
Debug.Assert(parentUpdatePanel != null);
_control = control;
_script = disposeScript;
_parentUpdatePanel = parentUpdatePanel;
}
public Control Control {
get {
return _control;
}
}
public string Script {
get {
return _script;
}
}
internal UpdatePanel ParentUpdatePanel {
get {
return _parentUpdatePanel;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RowTypePropertyElement.cs
- ActivityPreviewDesigner.cs
- DesignerActionGlyph.cs
- WorkflowEnvironment.cs
- NullableConverter.cs
- Wizard.cs
- ClientTargetCollection.cs
- ImageUrlEditor.cs
- HttpWriter.cs
- JpegBitmapEncoder.cs
- BamlRecordHelper.cs
- SimpleLine.cs
- UnsafeMethods.cs
- GeometryModel3D.cs
- PathData.cs
- SecurityDocument.cs
- InputReport.cs
- PerformanceCounterCategory.cs
- ChainedAsyncResult.cs
- AnimationStorage.cs
- FunctionQuery.cs
- SqlXmlStorage.cs
- SQlBooleanStorage.cs
- RedirectionProxy.cs
- ObjectListFieldsPage.cs
- XXXInfos.cs
- cookiecontainer.cs
- OutOfProcStateClientManager.cs
- StylusOverProperty.cs
- ADMembershipUser.cs
- ExpressionBuilderCollection.cs
- MissingMethodException.cs
- ReferenceEqualityComparer.cs
- SingleObjectCollection.cs
- GridViewCancelEditEventArgs.cs
- ObjectManager.cs
- DataReceivedEventArgs.cs
- GZipStream.cs
- BitVector32.cs
- ConfigurationException.cs
- PowerModeChangedEventArgs.cs
- AnnouncementService.cs
- IImplicitResourceProvider.cs
- BitmapFrame.cs
- WindowsPen.cs
- Random.cs
- _IPv4Address.cs
- CharEnumerator.cs
- ValidationHelper.cs
- FileDialog_Vista_Interop.cs
- DbDataAdapter.cs
- NetWebProxyFinder.cs
- PageEventArgs.cs
- JumpTask.cs
- DataGridBoolColumn.cs
- ExpressionVisitorHelpers.cs
- WebPartConnectionsCloseVerb.cs
- ChannelServices.cs
- EncoderParameter.cs
- ListViewDataItem.cs
- SchemaType.cs
- ReceiveParametersContent.cs
- WorkflowRuntimeService.cs
- DataTableNewRowEvent.cs
- ListenerConnectionModeReader.cs
- RegexCaptureCollection.cs
- WmlLinkAdapter.cs
- NullableBoolConverter.cs
- WebHttpElement.cs
- RectangleHotSpot.cs
- FontStretchConverter.cs
- PointKeyFrameCollection.cs
- dbenumerator.cs
- IPHostEntry.cs
- CustomPopupPlacement.cs
- StreamWithDictionary.cs
- StandardOleMarshalObject.cs
- RoleGroupCollectionEditor.cs
- PenThreadWorker.cs
- CompositeActivityTypeDescriptorProvider.cs
- RecipientInfo.cs
- ToolBarButton.cs
- UTF7Encoding.cs
- SmtpMail.cs
- GridViewDeletedEventArgs.cs
- FlowchartDesigner.Helpers.cs
- OperationCanceledException.cs
- CodeMemberMethod.cs
- BrowserCapabilitiesCodeGenerator.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlSchemaRedefine.cs
- CodeMemberEvent.cs
- GeneralTransform.cs
- BinaryWriter.cs
- ArithmeticException.cs
- SamlSecurityTokenAuthenticator.cs
- SoapIgnoreAttribute.cs
- ContextMenu.cs
- BuildProviderCollection.cs
- _BasicClient.cs