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
- Rect.cs
- httpserverutility.cs
- ExplicitDiscriminatorMap.cs
- SrgsElementFactoryCompiler.cs
- CalendarDataBindingHandler.cs
- TemplateKeyConverter.cs
- NegatedCellConstant.cs
- EntityDataSourceSelectingEventArgs.cs
- ControlBuilderAttribute.cs
- MetadataCacheItem.cs
- MultipleViewPattern.cs
- SqlDataSourceCommandEventArgs.cs
- CookieParameter.cs
- Events.cs
- XmlSchemaGroupRef.cs
- DesignerCalendarAdapter.cs
- XmlText.cs
- DllNotFoundException.cs
- TdsRecordBufferSetter.cs
- InOutArgument.cs
- TransformCryptoHandle.cs
- Brush.cs
- TypeCodeDomSerializer.cs
- CompiledRegexRunner.cs
- AmbientLight.cs
- DataControlFieldCell.cs
- StorageFunctionMapping.cs
- TextParaLineResult.cs
- Component.cs
- EqualityComparer.cs
- XmlDeclaration.cs
- CharacterHit.cs
- TimeoutValidationAttribute.cs
- CountAggregationOperator.cs
- HostnameComparisonMode.cs
- TableCellsCollectionEditor.cs
- Setter.cs
- FreezableDefaultValueFactory.cs
- BoolLiteral.cs
- EqualityArray.cs
- HtmlTable.cs
- DesignOnlyAttribute.cs
- QilScopedVisitor.cs
- DuplexClientBase.cs
- CopyOnWriteList.cs
- JoinTreeNode.cs
- StoryFragments.cs
- MarkedHighlightComponent.cs
- XmlSchemaImporter.cs
- DocumentApplicationJournalEntry.cs
- OracleLob.cs
- WebPart.cs
- MouseActionValueSerializer.cs
- TargetPerspective.cs
- FloaterBaseParaClient.cs
- EllipticalNodeOperations.cs
- ConnectionManagementSection.cs
- SystemIPAddressInformation.cs
- CodeNamespaceImportCollection.cs
- Vector3DConverter.cs
- DataGridViewRowsRemovedEventArgs.cs
- SmtpNegotiateAuthenticationModule.cs
- JsonDeserializer.cs
- HttpModuleAction.cs
- StringWriter.cs
- NavigationProperty.cs
- PopupRoot.cs
- ImageSource.cs
- StylusPointDescription.cs
- InputLanguageEventArgs.cs
- QilList.cs
- CapabilitiesRule.cs
- PrivilegedConfigurationManager.cs
- Win32SafeHandles.cs
- DynamicArgumentDialog.cs
- NonClientArea.cs
- _FixedSizeReader.cs
- ArraySortHelper.cs
- PackagePartCollection.cs
- Grid.cs
- NavigationEventArgs.cs
- PeerToPeerException.cs
- XPathQilFactory.cs
- WmlPageAdapter.cs
- PropertyEmitter.cs
- FlagsAttribute.cs
- XmlObjectSerializer.cs
- Token.cs
- ValidatorUtils.cs
- WindowsScrollBar.cs
- ProviderConnectionPointCollection.cs
- FileSecurity.cs
- Icon.cs
- AnnotationMap.cs
- List.cs
- WrappedKeySecurityTokenParameters.cs
- UnsafeNativeMethods.cs
- CustomValidator.cs
- Matrix3D.cs
- ReadonlyMessageFilter.cs