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
- ToolStripPanelRenderEventArgs.cs
- EventLevel.cs
- RotationValidation.cs
- ToolStripRendererSwitcher.cs
- SqlClientMetaDataCollectionNames.cs
- TextDecorationCollection.cs
- Double.cs
- InstancePersistenceCommand.cs
- COMException.cs
- SqlTrackingWorkflowInstance.cs
- XmlReflectionImporter.cs
- StructuredTypeInfo.cs
- SelectionHighlightInfo.cs
- XMLSyntaxException.cs
- Blend.cs
- SqlUdtInfo.cs
- CodeBinaryOperatorExpression.cs
- StylusPlugin.cs
- BeginStoryboard.cs
- XhtmlStyleClass.cs
- DataGridColumnCollectionEditor.cs
- FixedSOMFixedBlock.cs
- FixedSchema.cs
- BasicHttpSecurity.cs
- WebPartConnectionsConnectVerb.cs
- SqlAliaser.cs
- FocusTracker.cs
- cookieexception.cs
- AssemblyResourceLoader.cs
- SharedPersonalizationStateInfo.cs
- MatrixTransform.cs
- UnsupportedPolicyOptionsException.cs
- DbParameterHelper.cs
- NavigationProperty.cs
- EditorZoneBase.cs
- ParameterModifier.cs
- TemplateManager.cs
- ProfileService.cs
- IndexOutOfRangeException.cs
- _StreamFramer.cs
- ValidationPropertyAttribute.cs
- ObjectViewFactory.cs
- ControlAdapter.cs
- Type.cs
- QueryConverter.cs
- BuildManagerHost.cs
- CompensationHandlingFilter.cs
- MembershipSection.cs
- AdornerPresentationContext.cs
- Certificate.cs
- RequestCachePolicy.cs
- ColumnHeaderConverter.cs
- WmlListAdapter.cs
- ZoneLinkButton.cs
- XamlInt32CollectionSerializer.cs
- CommandField.cs
- TypeDescriptor.cs
- TextDpi.cs
- SeverityFilter.cs
- ScrollContentPresenter.cs
- ClientSession.cs
- DispatcherObject.cs
- AppLevelCompilationSectionCache.cs
- AlternationConverter.cs
- DateTimeFormat.cs
- MdiWindowListStrip.cs
- XamlTreeBuilder.cs
- PopupControlService.cs
- SqlClientWrapperSmiStream.cs
- ContentType.cs
- DataObjectSettingDataEventArgs.cs
- FtpWebRequest.cs
- ResolveMatches11.cs
- PropertyCollection.cs
- Ray3DHitTestResult.cs
- MetadataArtifactLoaderFile.cs
- SelectionChangedEventArgs.cs
- DateTimeSerializationSection.cs
- GridToolTip.cs
- NullableDecimalSumAggregationOperator.cs
- ArraySortHelper.cs
- EncryptedKey.cs
- OutputWindow.cs
- SByteConverter.cs
- TableItemPatternIdentifiers.cs
- Currency.cs
- OutputWindow.cs
- SqlClientMetaDataCollectionNames.cs
- ConfigurationCollectionAttribute.cs
- Table.cs
- BitmapEffectGeneralTransform.cs
- HMACSHA256.cs
- EDesignUtil.cs
- ReplyAdapterChannelListener.cs
- Run.cs
- CodeAccessPermission.cs
- SymLanguageVendor.cs
- coordinatorfactory.cs
- EventWaitHandleSecurity.cs
- XmlSchemaAttributeGroupRef.cs