Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / ClientScriptManagerWrapper.cs / 1305376 / ClientScriptManagerWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.Reflection; 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 Dictionary> IClientScriptManager.RegisteredResourcesToSuppress { get { #if !ORYX_VNEXT return _clientScriptManager.RegisteredResourcesToSuppress; #else return new Dictionary >(); #endif } } 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
- FontFamily.cs
- DataServiceException.cs
- GeneralTransform.cs
- SystemIPGlobalStatistics.cs
- IUnknownConstantAttribute.cs
- SHA256CryptoServiceProvider.cs
- ClientRolePrincipal.cs
- RuleEngine.cs
- CultureTable.cs
- BitmapMetadata.cs
- ExclusiveHandleList.cs
- OrderedDictionary.cs
- WinEventWrap.cs
- AnonymousIdentificationSection.cs
- SqlMethodTransformer.cs
- UnknownBitmapEncoder.cs
- AuthorizationSection.cs
- ItemCheckedEvent.cs
- COM2ExtendedUITypeEditor.cs
- CharEnumerator.cs
- DiagnosticsConfigurationHandler.cs
- EditorAttribute.cs
- HexParser.cs
- SecurityElementBase.cs
- GregorianCalendarHelper.cs
- DataServiceException.cs
- RuleRefElement.cs
- ModelUIElement3D.cs
- ContainerAction.cs
- IgnoreSectionHandler.cs
- D3DImage.cs
- TemplateKey.cs
- XPathConvert.cs
- SmtpClient.cs
- HttpModuleCollection.cs
- MessageSmuggler.cs
- AutoResizedEvent.cs
- StringUtil.cs
- unsafenativemethodstextservices.cs
- GridProviderWrapper.cs
- SystemPens.cs
- ShimAsPublicXamlType.cs
- XPathPatternBuilder.cs
- DebugTrace.cs
- VoiceObjectToken.cs
- ValidateNames.cs
- InvalidComObjectException.cs
- CalculatedColumn.cs
- Group.cs
- FileInfo.cs
- SrgsGrammarCompiler.cs
- ProfilePropertySettingsCollection.cs
- PointConverter.cs
- XmlUtil.cs
- Timer.cs
- ListBoxItemWrapperAutomationPeer.cs
- CodeTypeReferenceCollection.cs
- ErrorWebPart.cs
- DynamicActivity.cs
- SystemIPInterfaceStatistics.cs
- ParameterReplacerVisitor.cs
- WebMessageBodyStyleHelper.cs
- TextEncodedRawTextWriter.cs
- Dynamic.cs
- Trace.cs
- PassportAuthentication.cs
- BackgroundFormatInfo.cs
- XmlDataImplementation.cs
- ProviderSettingsCollection.cs
- StrokeIntersection.cs
- FontCollection.cs
- ClientTargetCollection.cs
- CounterCreationData.cs
- DesignerDataSchemaClass.cs
- ButtonField.cs
- ResolveNameEventArgs.cs
- FileUtil.cs
- LinearKeyFrames.cs
- UnaryNode.cs
- DataObjectPastingEventArgs.cs
- Application.cs
- OdbcConnectionStringbuilder.cs
- HttpCookiesSection.cs
- ColorContext.cs
- CanExecuteRoutedEventArgs.cs
- RotateTransform3D.cs
- ToolStripItemCollection.cs
- SecurityTokenParameters.cs
- DropDownButton.cs
- SetterBaseCollection.cs
- BitArray.cs
- DeliveryStrategy.cs
- SafeFileMappingHandle.cs
- FunctionImportElement.cs
- EntityDataSourceValidationException.cs
- DiscardableAttribute.cs
- Geometry.cs
- KoreanCalendar.cs
- MediaContextNotificationWindow.cs
- TextRangeEdit.cs