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
- ServerIdentity.cs
- CompositionAdorner.cs
- TransformerConfigurationWizardBase.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- SchemaMerger.cs
- BrowserCapabilitiesFactoryBase.cs
- AbstractDataSvcMapFileLoader.cs
- VariantWrapper.cs
- EncodingNLS.cs
- NoResizeSelectionBorderGlyph.cs
- DefaultValidator.cs
- Opcode.cs
- EventListener.cs
- ContractCodeDomInfo.cs
- DefaultPrintController.cs
- DetailsViewPageEventArgs.cs
- RecommendedAsConfigurableAttribute.cs
- _HTTPDateParse.cs
- ColorTransformHelper.cs
- RawTextInputReport.cs
- unitconverter.cs
- MLangCodePageEncoding.cs
- ProgressChangedEventArgs.cs
- securitycriticaldataformultiplegetandset.cs
- followingsibling.cs
- Matrix3DStack.cs
- FileCodeGroup.cs
- ColumnHeader.cs
- ListComponentEditor.cs
- __Filters.cs
- NumberFormatter.cs
- TextServicesCompartment.cs
- DoubleKeyFrameCollection.cs
- GradientBrush.cs
- DispatcherEventArgs.cs
- CompositeFontInfo.cs
- PagedDataSource.cs
- DataStreamFromComStream.cs
- Convert.cs
- HttpResponseHeader.cs
- CredentialSelector.cs
- RadioButton.cs
- PseudoWebRequest.cs
- ReadOnlyDataSourceView.cs
- OdbcConnectionStringbuilder.cs
- DataServiceCollectionOfT.cs
- Object.cs
- BindingContext.cs
- SharedPerformanceCounter.cs
- AnnotationDocumentPaginator.cs
- DoubleCollection.cs
- XmlSerializer.cs
- ListViewSelectEventArgs.cs
- ClientTarget.cs
- BrowserCapabilitiesFactory35.cs
- RelativeSource.cs
- RouteTable.cs
- _LocalDataStoreMgr.cs
- recordstatefactory.cs
- MenuItemBinding.cs
- VectorCollectionConverter.cs
- XmlDataProvider.cs
- MatrixConverter.cs
- BamlTreeMap.cs
- TrustManager.cs
- DashStyles.cs
- OracleString.cs
- AudioException.cs
- PagesSection.cs
- Base64Encoder.cs
- EntityCommandCompilationException.cs
- Operand.cs
- DataGridCellsPresenter.cs
- X509Utils.cs
- TaskHelper.cs
- CursorEditor.cs
- CardSpaceShim.cs
- OdbcException.cs
- CmsInterop.cs
- ViewGenerator.cs
- HtmlElementEventArgs.cs
- ConnectionsZone.cs
- RequestStatusBarUpdateEventArgs.cs
- HideDisabledControlAdapter.cs
- base64Transforms.cs
- DictionaryManager.cs
- WindowsButton.cs
- NavigateEvent.cs
- ActivatedMessageQueue.cs
- ConfigurationConverterBase.cs
- TextMessageEncodingBindingElement.cs
- SplineKeyFrames.cs
- ApplicationBuildProvider.cs
- MemoryMappedViewStream.cs
- Currency.cs
- wmiprovider.cs
- TextReader.cs
- ItemCheckedEvent.cs
- AdornerDecorator.cs
- XmlSchemaAny.cs