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
- xamlnodes.cs
- CssStyleCollection.cs
- StylusTip.cs
- AuthorizationPolicyTypeElementCollection.cs
- CodeObject.cs
- SafeEventLogWriteHandle.cs
- safelinkcollection.cs
- ItemsChangedEventArgs.cs
- Deflater.cs
- EncoderFallback.cs
- DbMetaDataColumnNames.cs
- CancellableEnumerable.cs
- RedBlackList.cs
- RelationshipDetailsRow.cs
- PersonalizationProvider.cs
- PropertyEmitter.cs
- _NetRes.cs
- ValueType.cs
- Int32Rect.cs
- ComPlusAuthorization.cs
- TextTreeTextElementNode.cs
- OleDbPermission.cs
- DtdParser.cs
- SoapObjectReader.cs
- FieldNameLookup.cs
- CodeMethodInvokeExpression.cs
- OpenTypeLayout.cs
- Parser.cs
- ActiveXMessageFormatter.cs
- NullReferenceException.cs
- DataGridViewRowCancelEventArgs.cs
- Privilege.cs
- TypeDescriptionProviderAttribute.cs
- DocumentScope.cs
- FollowerQueueCreator.cs
- SoapSchemaMember.cs
- AxisAngleRotation3D.cs
- DiffuseMaterial.cs
- ServiceParser.cs
- FilteredXmlReader.cs
- Rect.cs
- UInt32Storage.cs
- ObjectFullSpanRewriter.cs
- TraceContext.cs
- IPAddressCollection.cs
- CompilerState.cs
- WindowsEditBox.cs
- LambdaCompiler.Expressions.cs
- NavigationCommands.cs
- Sql8ConformanceChecker.cs
- StoreUtilities.cs
- DocumentSchemaValidator.cs
- AtomMaterializer.cs
- WebControlAdapter.cs
- ListBoxItemAutomationPeer.cs
- ColumnBinding.cs
- FilteredXmlReader.cs
- OdbcConnectionFactory.cs
- ListView.cs
- ListControlConvertEventArgs.cs
- StringUtil.cs
- SqlDataRecord.cs
- InvalidPrinterException.cs
- Matrix3D.cs
- UpDownEvent.cs
- NameValueCollection.cs
- FrameworkTextComposition.cs
- IApplicationTrustManager.cs
- PriorityRange.cs
- DispatchChannelSink.cs
- ToolStripContentPanelRenderEventArgs.cs
- DiffuseMaterial.cs
- DeobfuscatingStream.cs
- HtmlDocument.cs
- StyleXamlTreeBuilder.cs
- DynamicILGenerator.cs
- WmiEventSink.cs
- Attributes.cs
- BaseTemplateParser.cs
- OleDbConnectionInternal.cs
- AtlasWeb.Designer.cs
- DataTableReader.cs
- CodeTypeDeclarationCollection.cs
- wgx_sdk_version.cs
- RadioButton.cs
- SQLBytes.cs
- EventLogEntry.cs
- NegotiationTokenAuthenticator.cs
- ImageClickEventArgs.cs
- _Rfc2616CacheValidators.cs
- TrackPoint.cs
- EmptyElement.cs
- URLIdentityPermission.cs
- DefinitionBase.cs
- StringCollectionEditor.cs
- __Filters.cs
- ConfigurationPropertyCollection.cs
- InvokeGenerator.cs
- QueryMath.cs
- RealizationDrawingContextWalker.cs