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
- BaseCAMarshaler.cs
- DodSequenceMerge.cs
- XmlReaderDelegator.cs
- SharedConnectionWorkflowTransactionService.cs
- WS2007FederationHttpBindingElement.cs
- PageWrapper.cs
- entityreference_tresulttype.cs
- KeyboardDevice.cs
- LinqDataSourceDisposeEventArgs.cs
- ImpersonateTokenRef.cs
- TransformConverter.cs
- DispatcherHooks.cs
- TdsParser.cs
- ValidationRuleCollection.cs
- ExceptionRoutedEventArgs.cs
- XmlBinaryWriterSession.cs
- CommandDevice.cs
- MarkupProperty.cs
- XmlRawWriter.cs
- Header.cs
- Cursors.cs
- ReturnType.cs
- UnsafeNativeMethods.cs
- ChannelManagerHelpers.cs
- RangeValueProviderWrapper.cs
- PartManifestEntry.cs
- RuntimeArgument.cs
- Ipv6Element.cs
- TimelineGroup.cs
- EndpointInstanceProvider.cs
- DPAPIProtectedConfigurationProvider.cs
- Span.cs
- AVElementHelper.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ControlCachePolicy.cs
- EndPoint.cs
- DocumentStream.cs
- TypeLibConverter.cs
- TargetConverter.cs
- SafeEventLogWriteHandle.cs
- URLAttribute.cs
- TreeView.cs
- AuthenticationManager.cs
- translator.cs
- DocumentXPathNavigator.cs
- UnmanagedMemoryStreamWrapper.cs
- HtmlLink.cs
- xmlsaver.cs
- DataGridViewSelectedColumnCollection.cs
- SplitContainer.cs
- ArrayConverter.cs
- followingsibling.cs
- TypeAccessException.cs
- OracleParameter.cs
- DataGridLinkButton.cs
- CqlLexer.cs
- ConfigViewGenerator.cs
- Table.cs
- FontStretchConverter.cs
- CacheMemory.cs
- SystemDropShadowChrome.cs
- PasswordTextContainer.cs
- DataGridLength.cs
- EnumMember.cs
- MetabaseSettingsIis7.cs
- ExpressionWriter.cs
- StructuredTypeEmitter.cs
- TypeBrowser.xaml.cs
- SafeCryptoHandles.cs
- Blend.cs
- TextBoxLine.cs
- ColorAnimationUsingKeyFrames.cs
- ExceptionUtil.cs
- FloaterParagraph.cs
- ReadWriteSpinLock.cs
- TabPanel.cs
- FindCriteriaCD1.cs
- BitStack.cs
- WorkflowMessageEventArgs.cs
- XmlnsCache.cs
- _ServiceNameStore.cs
- Deflater.cs
- RankException.cs
- ObjectSet.cs
- ToolStripLocationCancelEventArgs.cs
- ITreeGenerator.cs
- ProvidePropertyAttribute.cs
- TypedDatasetGenerator.cs
- FixedTextBuilder.cs
- ToolStripItemClickedEventArgs.cs
- httpstaticobjectscollection.cs
- VisualCollection.cs
- DataPointer.cs
- XmlSerializationReader.cs
- OdbcDataReader.cs
- XmlDigitalSignatureProcessor.cs
- DataGridBoolColumn.cs
- SplineKeyFrames.cs
- IConvertible.cs
- UnionCqlBlock.cs