Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / xsp / System / Web / Extensions / ui / ClientScriptManagerWrapper.cs / 1 / ClientScriptManagerWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Diagnostics; 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 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.Diagnostics; 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 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
- UnionCqlBlock.cs
- EffectiveValueEntry.cs
- ResourcePool.cs
- Registry.cs
- XPathPatternParser.cs
- WorkflowEventArgs.cs
- _Events.cs
- SafePointer.cs
- WmlValidationSummaryAdapter.cs
- HwndSource.cs
- TransformGroup.cs
- ClientTarget.cs
- Comparer.cs
- ColumnTypeConverter.cs
- DefaultValueTypeConverter.cs
- Common.cs
- NullReferenceException.cs
- DashStyle.cs
- DoubleKeyFrameCollection.cs
- AutoResizedEvent.cs
- LessThanOrEqual.cs
- MultilineStringConverter.cs
- UnsafeNativeMethods.cs
- DocumentsTrace.cs
- GAC.cs
- RelOps.cs
- ExitEventArgs.cs
- Walker.cs
- TrackBar.cs
- Trace.cs
- _NetworkingPerfCounters.cs
- OracleBoolean.cs
- StrongNameKeyPair.cs
- TemplateBuilder.cs
- EventMap.cs
- XamlWrappingReader.cs
- EventHandlerList.cs
- RelationshipEndCollection.cs
- RuntimeArgumentHandle.cs
- Material.cs
- VariableQuery.cs
- BasicKeyConstraint.cs
- MethodImplAttribute.cs
- ClientCredentialsElement.cs
- Workspace.cs
- CorrelationActionMessageFilter.cs
- EventsTab.cs
- EventLogRecord.cs
- SqlDataSource.cs
- BinarySecretKeyIdentifierClause.cs
- ConfigXmlElement.cs
- TranslateTransform3D.cs
- DialogResultConverter.cs
- COM2EnumConverter.cs
- XmlNullResolver.cs
- Path.cs
- ArrayElementGridEntry.cs
- RequestResponse.cs
- IgnoreSection.cs
- WebPartManager.cs
- ScrollChrome.cs
- ChildDocumentBlock.cs
- GatewayIPAddressInformationCollection.cs
- XmlAnyElementAttributes.cs
- EventSource.cs
- PropertyChangingEventArgs.cs
- AbandonedMutexException.cs
- EnglishPluralizationService.cs
- FormatPage.cs
- HtmlLink.cs
- DisableDpiAwarenessAttribute.cs
- CannotUnloadAppDomainException.cs
- DataSourceComponent.cs
- WebPartHeaderCloseVerb.cs
- DiscoveryUtility.cs
- CodeIndexerExpression.cs
- HttpsTransportBindingElement.cs
- SharedPersonalizationStateInfo.cs
- TextSelectionHelper.cs
- XmlNamedNodeMap.cs
- PointUtil.cs
- RoleGroupCollectionEditor.cs
- ExeContext.cs
- CompModSwitches.cs
- ToolStripGrip.cs
- FragmentNavigationEventArgs.cs
- DesignerActionService.cs
- ProxyWebPartManager.cs
- XmlLinkedNode.cs
- DataViewSettingCollection.cs
- CompositeKey.cs
- ComplexObject.cs
- CompareValidator.cs
- XmlSchemaNotation.cs
- SpellerInterop.cs
- HMACSHA256.cs
- SubpageParagraph.cs
- SqlParameterCollection.cs
- TypeNameConverter.cs
- MimeFormReflector.cs