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
- DbTransaction.cs
- DataGridViewTextBoxCell.cs
- InheritanceContextChangedEventManager.cs
- QilGeneratorEnv.cs
- ArglessEventHandlerProxy.cs
- handlecollector.cs
- DataGridViewCellParsingEventArgs.cs
- IndentTextWriter.cs
- DataGridViewCellStyleChangedEventArgs.cs
- HijriCalendar.cs
- Clock.cs
- RegistrationServices.cs
- InheritanceAttribute.cs
- OperationContextScope.cs
- ScriptResourceDefinition.cs
- GeneralTransform3DTo2D.cs
- DataListCommandEventArgs.cs
- TextElement.cs
- AnnouncementDispatcherAsyncResult.cs
- TypeHelpers.cs
- Stack.cs
- PropertyDescriptorGridEntry.cs
- TreeView.cs
- StorageEndPropertyMapping.cs
- Hash.cs
- MarkupObject.cs
- SubstitutionList.cs
- CodeTypeMember.cs
- SystemUnicastIPAddressInformation.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- _CacheStreams.cs
- UnaryNode.cs
- ExceptionHandler.cs
- WebPartDescription.cs
- StateItem.cs
- DesignerVerb.cs
- CurrencyManager.cs
- EmptyWorkItem.cs
- HtmlInputSubmit.cs
- WebBrowser.cs
- HwndSourceParameters.cs
- XmlAttributes.cs
- EventProviderBase.cs
- DataGridViewCellParsingEventArgs.cs
- XmlSchemaGroup.cs
- DocumentViewerAutomationPeer.cs
- EventLogLink.cs
- OSFeature.cs
- WindowsPen.cs
- filewebresponse.cs
- ClipboardData.cs
- BamlCollectionHolder.cs
- SerializableTypeCodeDomSerializer.cs
- ReliabilityContractAttribute.cs
- MetafileHeaderWmf.cs
- odbcmetadatacolumnnames.cs
- input.cs
- MessageAction.cs
- XmlSchemaInferenceException.cs
- WmlLabelAdapter.cs
- ObjectFullSpanRewriter.cs
- X509CertificateInitiatorServiceCredential.cs
- IntegrationExceptionEventArgs.cs
- ProviderConnectionPoint.cs
- JsonClassDataContract.cs
- OdbcTransaction.cs
- BreadCrumbTextConverter.cs
- SystemSounds.cs
- WebPartCollection.cs
- TabPanel.cs
- FormatControl.cs
- XmlDocumentSchema.cs
- Matrix3DConverter.cs
- XmlSchemaCollection.cs
- ImportContext.cs
- XmlSerializerFactory.cs
- BrowsableAttribute.cs
- XmlIterators.cs
- StagingAreaInputItem.cs
- InternalDispatchObject.cs
- WebServiceErrorEvent.cs
- EventLogPermissionEntryCollection.cs
- DateTimeFormatInfoScanner.cs
- XmlCodeExporter.cs
- SortKey.cs
- ModelTreeManager.cs
- TimeSpan.cs
- GlyphRunDrawing.cs
- EDesignUtil.cs
- Typeface.cs
- SQLBinary.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ConfigXmlWhitespace.cs
- CookielessHelper.cs
- ToolBar.cs
- SSmlParser.cs
- CommandHelper.cs
- DisplayMemberTemplateSelector.cs
- OrderPreservingPipeliningMergeHelper.cs
- CompoundFileStorageReference.cs