Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / RegisteredDisposeScript.cs / 1305376 / RegisteredDisposeScript.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System.Diagnostics;
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;
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
- Baml2006KnownTypes.cs
- Add.cs
- EditorAttribute.cs
- Canvas.cs
- CalloutQueueItem.cs
- PathFigure.cs
- DocumentGridContextMenu.cs
- UInt16Converter.cs
- ToolStripControlHost.cs
- XmlNodeChangedEventManager.cs
- ContextConfiguration.cs
- DefaultTextStoreTextComposition.cs
- EventPrivateKey.cs
- CommandField.cs
- Task.cs
- DataServiceHostFactory.cs
- XmlSchemaCollection.cs
- StatusBar.cs
- ListControl.cs
- DebugView.cs
- DriveInfo.cs
- RemoteWebConfigurationHostServer.cs
- SystemThemeKey.cs
- PointKeyFrameCollection.cs
- HttpWriter.cs
- SortQuery.cs
- DataColumnMappingCollection.cs
- ServerValidateEventArgs.cs
- ChangeToolStripParentVerb.cs
- UrlMappingCollection.cs
- DataKeyCollection.cs
- HtmlEncodedRawTextWriter.cs
- ClientType.cs
- CodeArgumentReferenceExpression.cs
- SvcMapFileSerializer.cs
- Ref.cs
- ToolTipService.cs
- PointCollection.cs
- Int16.cs
- RecipientInfo.cs
- SoapExtensionStream.cs
- PenThread.cs
- PolyQuadraticBezierSegment.cs
- XPathChildIterator.cs
- FacetChecker.cs
- CodeGeneratorOptions.cs
- webbrowsersite.cs
- ParseElement.cs
- FactoryRecord.cs
- WorkflowInstanceProvider.cs
- TcpChannelHelper.cs
- CompressedStack.cs
- CounterCreationData.cs
- odbcmetadatacollectionnames.cs
- AnnotationService.cs
- InvalidOperationException.cs
- AuthenticationConfig.cs
- LogLogRecordHeader.cs
- NavigationPropertyEmitter.cs
- CatalogZone.cs
- AsyncOperation.cs
- OptimizedTemplateContentHelper.cs
- FilteredAttributeCollection.cs
- EntityDataSourceState.cs
- COMException.cs
- SQLDecimal.cs
- OdbcUtils.cs
- DefaultEventAttribute.cs
- ping.cs
- CodeMethodReturnStatement.cs
- HttpModulesSection.cs
- FixedTextContainer.cs
- IPEndPoint.cs
- WrappedIUnknown.cs
- FunctionDetailsReader.cs
- StateChangeEvent.cs
- SynchronousChannel.cs
- ReferenceEqualityComparer.cs
- StandardTransformFactory.cs
- SequentialUshortCollection.cs
- VBCodeProvider.cs
- X509PeerCertificateElement.cs
- DeferredElementTreeState.cs
- DataExpression.cs
- Line.cs
- EnterpriseServicesHelper.cs
- IISMapPath.cs
- DBCSCodePageEncoding.cs
- XmlSchemaComplexContent.cs
- ApplicationActivator.cs
- FormsAuthentication.cs
- SQLInt64Storage.cs
- InternalConfigConfigurationFactory.cs
- Message.cs
- Image.cs
- ZoneLinkButton.cs
- TimeSpan.cs
- ClientSponsor.cs
- SyndicationDeserializer.cs
- DataGridTable.cs