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 / ClientScriptManagerWrapper.cs / 1 / ClientScriptManagerWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Diagnostics; using System.Web.UI; internal sealed class ClientScriptManagerWrapper : IClientScriptManager { private readonly ClientScriptManager _clientScriptManager; internal ClientScriptManagerWrapper(ClientScriptManager clientScriptManager) { Debug.Assert(clientScriptManager != null); _clientScriptManager = clientScriptManager; } #region IClientScriptManager Members string IClientScriptManager.GetPostBackEventReference(PostBackOptions options) { return _clientScriptManager.GetPostBackEventReference(options); } string IClientScriptManager.GetWebResourceUrl(Type type, string resourceName) { return _clientScriptManager.GetWebResourceUrl(type, resourceName); } void IClientScriptManager.RegisterClientScriptBlock(Type type, string key, string script) { _clientScriptManager.RegisterClientScriptBlock(type, key, script); } void IClientScriptManager.RegisterClientScriptInclude(Type type, string key, string url) { _clientScriptManager.RegisterClientScriptInclude(type, key, url); } void IClientScriptManager.RegisterClientScriptBlock(Type type, string key, string script, bool addScriptTags) { _clientScriptManager.RegisterClientScriptBlock(type, key, script, addScriptTags); } void IClientScriptManager.RegisterStartupScript(Type type, string key, string script, bool addScriptTags) { _clientScriptManager.RegisterStartupScript(type, key, script, addScriptTags); } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Diagnostics; using System.Web.UI; internal sealed class ClientScriptManagerWrapper : IClientScriptManager { private readonly ClientScriptManager _clientScriptManager; internal ClientScriptManagerWrapper(ClientScriptManager clientScriptManager) { Debug.Assert(clientScriptManager != null); _clientScriptManager = clientScriptManager; } #region IClientScriptManager Members string IClientScriptManager.GetPostBackEventReference(PostBackOptions options) { return _clientScriptManager.GetPostBackEventReference(options); } string IClientScriptManager.GetWebResourceUrl(Type type, string resourceName) { return _clientScriptManager.GetWebResourceUrl(type, resourceName); } void IClientScriptManager.RegisterClientScriptBlock(Type type, string key, string script) { _clientScriptManager.RegisterClientScriptBlock(type, key, script); } void IClientScriptManager.RegisterClientScriptInclude(Type type, string key, string url) { _clientScriptManager.RegisterClientScriptInclude(type, key, url); } void IClientScriptManager.RegisterClientScriptBlock(Type type, string key, string script, bool addScriptTags) { _clientScriptManager.RegisterClientScriptBlock(type, key, script, addScriptTags); } void IClientScriptManager.RegisterStartupScript(Type type, string key, string script, bool addScriptTags) { _clientScriptManager.RegisterStartupScript(type, key, script, addScriptTags); } #endregion } } // 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
- NetPeerTcpBindingCollectionElement.cs
- ValueHandle.cs
- GPStream.cs
- TextSelectionProcessor.cs
- RightsManagementErrorHandler.cs
- AlignmentXValidation.cs
- UnsafePeerToPeerMethods.cs
- BeginGetFileNameFromUserRequest.cs
- RectangleF.cs
- TCPListener.cs
- ExternalDataExchangeService.cs
- PassportAuthentication.cs
- TransmissionStrategy.cs
- SqlParameterCollection.cs
- HitTestDrawingContextWalker.cs
- SerializationAttributes.cs
- TableCell.cs
- ToolBarTray.cs
- ComNativeDescriptor.cs
- FontSizeConverter.cs
- DataGrid.cs
- ping.cs
- CoTaskMemHandle.cs
- CustomErrorsSectionWrapper.cs
- PropertyGridCommands.cs
- SrgsRuleRef.cs
- IBuiltInEvidence.cs
- WhitespaceRule.cs
- XmlResolver.cs
- DeflateEmulationStream.cs
- IERequestCache.cs
- CoreSwitches.cs
- sqlmetadatafactory.cs
- TextEditorDragDrop.cs
- WhiteSpaceTrimStringConverter.cs
- ImageListUtils.cs
- Assembly.cs
- CodeBinaryOperatorExpression.cs
- SmiEventSink_Default.cs
- Int32Collection.cs
- TrackingStringDictionary.cs
- RegexCharClass.cs
- WebPartCancelEventArgs.cs
- DynamicILGenerator.cs
- SmtpClient.cs
- ScrollProviderWrapper.cs
- FullTextState.cs
- BulletDecorator.cs
- FixedElement.cs
- HtmlGenericControl.cs
- SystemColors.cs
- CompositeDataBoundControl.cs
- SpecialFolderEnumConverter.cs
- TextTreePropertyUndoUnit.cs
- ClientProxyGenerator.cs
- ButtonStandardAdapter.cs
- SqlCaseSimplifier.cs
- DataGridViewCellCancelEventArgs.cs
- FileInfo.cs
- WebScriptEnablingBehavior.cs
- ProgressBarBrushConverter.cs
- PathSegment.cs
- EntityCommandCompilationException.cs
- InvalidDocumentContentsException.cs
- util.cs
- Zone.cs
- SliderAutomationPeer.cs
- DockProviderWrapper.cs
- Executor.cs
- WebUtility.cs
- AccessedThroughPropertyAttribute.cs
- DocumentXmlWriter.cs
- ResolveMatchesMessage11.cs
- Random.cs
- hwndwrapper.cs
- AutomationTextAttribute.cs
- _TimerThread.cs
- BaseParaClient.cs
- CommandBinding.cs
- MgmtConfigurationRecord.cs
- CommonObjectSecurity.cs
- ObjectDataSourceStatusEventArgs.cs
- SecurityUtils.cs
- Pair.cs
- CodeCatchClause.cs
- WizardStepBase.cs
- CompatibleComparer.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SpecialFolderEnumConverter.cs
- LookupBindingPropertiesAttribute.cs
- XmlILModule.cs
- BaseDataListComponentEditor.cs
- ErrorHandler.cs
- NameValueConfigurationCollection.cs
- DrawTreeNodeEventArgs.cs
- DataGridItem.cs
- AppDomain.cs
- Size.cs
- HtmlWindow.cs
- SHA1CryptoServiceProvider.cs