Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // // 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
- CryptoStream.cs
- ProviderCollection.cs
- CommonDialog.cs
- _OverlappedAsyncResult.cs
- ActivityCodeDomSerializer.cs
- PointAnimation.cs
- HyperLinkDesigner.cs
- Geometry.cs
- ReferentialConstraint.cs
- IdentityReference.cs
- CompositionAdorner.cs
- PagedDataSource.cs
- MessagingDescriptionAttribute.cs
- XmlIlGenerator.cs
- InfoCardHelper.cs
- ImageFormat.cs
- AmbientProperties.cs
- TemplateKeyConverter.cs
- RecordsAffectedEventArgs.cs
- PluralizationServiceUtil.cs
- ConfigurationErrorsException.cs
- ContainerParagraph.cs
- QueryCacheManager.cs
- CapabilitiesSection.cs
- SignatureToken.cs
- ViewCellSlot.cs
- OrderedDictionary.cs
- CodeSnippetStatement.cs
- ADMembershipProvider.cs
- GC.cs
- SourceSwitch.cs
- XPathNodeList.cs
- StylusPointProperties.cs
- GeneralTransform3DGroup.cs
- AccessibilityHelperForXpWin2k3.cs
- SecurityTokenProvider.cs
- SqlDataReader.cs
- QilTernary.cs
- _FixedSizeReader.cs
- Propagator.cs
- HttpListenerRequest.cs
- TextInfo.cs
- ChangeDirector.cs
- XmlExtensionFunction.cs
- ConfigXmlReader.cs
- AccessControlList.cs
- StartUpEventArgs.cs
- PropertyPathWorker.cs
- ButtonBase.cs
- IRCollection.cs
- DataContractFormatAttribute.cs
- TreeNodeEventArgs.cs
- OpacityConverter.cs
- ActiveXHelper.cs
- ViewLoader.cs
- Configuration.cs
- RelatedImageListAttribute.cs
- LinqExpressionNormalizer.cs
- Environment.cs
- OdbcConnectionOpen.cs
- UserPreferenceChangingEventArgs.cs
- ValidationResults.cs
- SocketPermission.cs
- XPathScanner.cs
- MULTI_QI.cs
- HttpVersion.cs
- DesignerVerb.cs
- IndexedString.cs
- XmlSchemaAll.cs
- XmlTextWriter.cs
- UnionExpr.cs
- ScaleTransform.cs
- BulletChrome.cs
- FormViewDeleteEventArgs.cs
- CrossSiteScriptingValidation.cs
- CodeParameterDeclarationExpressionCollection.cs
- EventProviderWriter.cs
- Typeface.cs
- WindowsAuthenticationEventArgs.cs
- BinaryCommonClasses.cs
- DispatcherOperation.cs
- SingleStorage.cs
- RawAppCommandInputReport.cs
- DockProviderWrapper.cs
- ActivityDesigner.cs
- MetabaseServerConfig.cs
- ServiceBusyException.cs
- MenuCommands.cs
- TreeNodeCollection.cs
- HandlerFactoryWrapper.cs
- NoResizeHandleGlyph.cs
- SingleAnimationUsingKeyFrames.cs
- FontStretches.cs
- Listbox.cs
- XhtmlTextWriter.cs
- ECDiffieHellman.cs
- _HeaderInfo.cs
- StubHelpers.cs
- EventLogTraceListener.cs
- GetPageNumberCompletedEventArgs.cs