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
- MemberListBinding.cs
- ThreadExceptionDialog.cs
- SyndicationElementExtension.cs
- FileCodeGroup.cs
- GridItemCollection.cs
- HttpRuntimeSection.cs
- ModulesEntry.cs
- FixedSOMElement.cs
- FileRecordSequenceHelper.cs
- TabItemWrapperAutomationPeer.cs
- ScriptMethodAttribute.cs
- MsmqOutputChannel.cs
- EntityDataSourceDesignerHelper.cs
- DataGridViewTopLeftHeaderCell.cs
- View.cs
- SafeCryptHandles.cs
- cookie.cs
- ManagementInstaller.cs
- DecimalAnimation.cs
- ServiceReference.cs
- CodeSnippetExpression.cs
- ListViewTableRow.cs
- ParallelEnumerableWrapper.cs
- DateTimeFormat.cs
- mediaeventargs.cs
- HtmlContainerControl.cs
- LineProperties.cs
- ContextMenu.cs
- TransformPatternIdentifiers.cs
- WebPartsPersonalizationAuthorization.cs
- TCPListener.cs
- DataGridViewCellPaintingEventArgs.cs
- WebPartChrome.cs
- Regex.cs
- FixedSOMTextRun.cs
- TimeZone.cs
- GeometryHitTestParameters.cs
- JournalEntryListConverter.cs
- ProjectionCamera.cs
- Variant.cs
- CompilerError.cs
- TypeExtension.cs
- RegisteredScript.cs
- EntityFunctions.cs
- ExtendedPropertyCollection.cs
- ResourceWriter.cs
- MiniModule.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- ProtectedConfigurationProviderCollection.cs
- ObjectSet.cs
- Stack.cs
- FtpWebRequest.cs
- ActivityStateQuery.cs
- StylusLogic.cs
- RouteParametersHelper.cs
- TraceSection.cs
- CompositionTarget.cs
- XmlHierarchyData.cs
- FrameworkTextComposition.cs
- SoapSchemaImporter.cs
- ValueQuery.cs
- DecoderNLS.cs
- NullReferenceException.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ConstantSlot.cs
- DiscoveryOperationContext.cs
- OrderPreservingSpoolingTask.cs
- UpdatePanelControlTrigger.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- AsyncOperationManager.cs
- WinInet.cs
- wgx_commands.cs
- TaskFileService.cs
- ImportOptions.cs
- PrinterResolution.cs
- ParseNumbers.cs
- TypeResolver.cs
- InputScopeManager.cs
- ThicknessKeyFrameCollection.cs
- ByteFacetDescriptionElement.cs
- TextEditorDragDrop.cs
- Types.cs
- PeerNearMe.cs
- CompilationRelaxations.cs
- BuildManager.cs
- UnsafeNativeMethodsCLR.cs
- X509CertificateStore.cs
- SecurityTokenResolver.cs
- SwitchElementsCollection.cs
- CollectionViewGroupInternal.cs
- XamlSerializer.cs
- BulletChrome.cs
- TraceRecords.cs
- QuaternionAnimationBase.cs
- TransformPattern.cs
- DataGridViewTopRowAccessibleObject.cs
- ToolboxItemFilterAttribute.cs
- ParseChildrenAsPropertiesAttribute.cs
- PrintingPermissionAttribute.cs
- CodeDOMProvider.cs