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
- NumericUpDownAcceleration.cs
- RecognizeCompletedEventArgs.cs
- DataServiceProcessingPipeline.cs
- UpDownBase.cs
- _TimerThread.cs
- RoleManagerModule.cs
- ImageListStreamer.cs
- EntityDataSourceReferenceGroup.cs
- ReaderWriterLock.cs
- EncryptedKey.cs
- QilReplaceVisitor.cs
- Stroke.cs
- ObjectHelper.cs
- _PooledStream.cs
- Boolean.cs
- ButtonColumn.cs
- ResourceDescriptionAttribute.cs
- PathSegmentCollection.cs
- Internal.cs
- DateTimeFormatInfo.cs
- DataControlFieldCollection.cs
- CookieProtection.cs
- ToolBar.cs
- WebOperationContext.cs
- DataObjectFieldAttribute.cs
- RegexInterpreter.cs
- Int16.cs
- ReferenceSchema.cs
- CodeSnippetCompileUnit.cs
- ServicesUtilities.cs
- WindowsToolbarItemAsMenuItem.cs
- XmlSchemaSimpleTypeUnion.cs
- SingleObjectCollection.cs
- UseLicense.cs
- ProbeRequestResponseAsyncResult.cs
- XpsSerializationManager.cs
- BufferedGraphicsContext.cs
- WebServiceTypeData.cs
- DateTime.cs
- SiteMapProvider.cs
- BlockUIContainer.cs
- IntAverageAggregationOperator.cs
- TreeIterator.cs
- EntityCommand.cs
- ByteStreamMessageUtility.cs
- MissingFieldException.cs
- SmiContextFactory.cs
- ComboBox.cs
- BitHelper.cs
- DataBindingList.cs
- CommandBindingCollection.cs
- _SafeNetHandles.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- RefreshEventArgs.cs
- DataBindEngine.cs
- CodeSubDirectoriesCollection.cs
- KeyMatchBuilder.cs
- ProjectionAnalyzer.cs
- SubstitutionList.cs
- MergablePropertyAttribute.cs
- DictionaryEntry.cs
- StartUpEventArgs.cs
- OleDbError.cs
- ExternalCalls.cs
- DateTimeFormatInfoScanner.cs
- SerializationObjectManager.cs
- OdbcFactory.cs
- DoubleAnimationClockResource.cs
- ApplicationCommands.cs
- TabPage.cs
- ConsumerConnectionPoint.cs
- Brushes.cs
- ToolStripItemEventArgs.cs
- UserInitiatedRoutedEventPermission.cs
- Shared.cs
- Axis.cs
- AVElementHelper.cs
- Exceptions.cs
- TrayIconDesigner.cs
- MSG.cs
- LinqTreeNodeEvaluator.cs
- TraceSource.cs
- NodeLabelEditEvent.cs
- Stackframe.cs
- BamlStream.cs
- NavigationHelper.cs
- CodeRemoveEventStatement.cs
- Compensate.cs
- GenericsNotImplementedException.cs
- CAGDesigner.cs
- Camera.cs
- TreeViewDesigner.cs
- CalendarAutoFormat.cs
- UniqueEventHelper.cs
- HMACMD5.cs
- HotSpotCollection.cs
- lengthconverter.cs
- SHA384.cs
- AttachedProperty.cs
- EmptyEnumerable.cs