Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- UInt64Storage.cs
- ResourceSet.cs
- AutomationPropertyInfo.cs
- MemoryFailPoint.cs
- InfiniteTimeSpanConverter.cs
- PropertyMapper.cs
- EventInfo.cs
- SeverityFilter.cs
- WebBrowserHelper.cs
- EntityDataSourceChangedEventArgs.cs
- WhiteSpaceTrimStringConverter.cs
- FieldBuilder.cs
- Rotation3DKeyFrameCollection.cs
- AssertUtility.cs
- Hex.cs
- Cursors.cs
- DataGridViewIntLinkedList.cs
- SqlWebEventProvider.cs
- Int16KeyFrameCollection.cs
- ToolStripTextBox.cs
- PersonalizationStateQuery.cs
- LinkConverter.cs
- OAVariantLib.cs
- figurelength.cs
- ManagementNamedValueCollection.cs
- PerspectiveCamera.cs
- System.Data_BID.cs
- ListDictionary.cs
- GestureRecognitionResult.cs
- XmlNodeComparer.cs
- GridViewRowEventArgs.cs
- SqlLiftIndependentRowExpressions.cs
- TemplateField.cs
- ConnectionPoint.cs
- XMLSchema.cs
- ScrollEvent.cs
- Rss20ItemFormatter.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- Decoder.cs
- DTCTransactionManager.cs
- Roles.cs
- AppSettingsExpressionEditor.cs
- Model3D.cs
- NumericUpDownAccelerationCollection.cs
- FilterUserControlBase.cs
- TraceProvider.cs
- WebPartEventArgs.cs
- Internal.cs
- ButtonAutomationPeer.cs
- OneWayBindingElement.cs
- PartialCachingControl.cs
- WindowsAuthenticationEventArgs.cs
- SingleAnimation.cs
- IListConverters.cs
- FieldNameLookup.cs
- AspNetSynchronizationContext.cs
- KeyConstraint.cs
- TypeDescriptor.cs
- RadioButtonList.cs
- SqlBulkCopy.cs
- BitmapDownload.cs
- ProxyWebPartManager.cs
- ContentDisposition.cs
- CodePrimitiveExpression.cs
- VisualTarget.cs
- BinaryObjectReader.cs
- ListViewItemMouseHoverEvent.cs
- ToolStrip.cs
- MimeTypeAttribute.cs
- StorageSetMapping.cs
- AutoResizedEvent.cs
- HyperLinkStyle.cs
- HtmlButton.cs
- ExtendedPropertyInfo.cs
- DataControlFieldCollection.cs
- NamespaceTable.cs
- RemotingSurrogateSelector.cs
- DBSqlParserColumnCollection.cs
- TransformConverter.cs
- AutomationElementIdentifiers.cs
- prefixendpointaddressmessagefilter.cs
- SystemParameters.cs
- Executor.cs
- SegmentInfo.cs
- HtmlImage.cs
- Property.cs
- KeyBinding.cs
- BlockCollection.cs
- Image.cs
- XPathNode.cs
- PackagingUtilities.cs
- Process.cs
- BitmapEffectInput.cs
- DataFormat.cs
- ScopeElement.cs
- Wildcard.cs
- SessionStateModule.cs
- LinqDataSourceSelectEventArgs.cs
- TableLayoutRowStyleCollection.cs
- Accessible.cs