Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SoapHeaderException.cs
- ToolStripItemBehavior.cs
- SoapExtensionTypeElementCollection.cs
- ManifestResourceInfo.cs
- WebPartDesigner.cs
- Visual3D.cs
- TimelineGroup.cs
- DataProtection.cs
- BypassElement.cs
- FtpWebResponse.cs
- SafeNativeMethods.cs
- rsa.cs
- AssertUtility.cs
- UniqueIdentifierService.cs
- AtomEntry.cs
- DetailsViewActionList.cs
- _ShellExpression.cs
- TextEffectCollection.cs
- WeakEventManager.cs
- DropDownButton.cs
- WebPartEditorApplyVerb.cs
- ContentType.cs
- ClientTarget.cs
- AssertFilter.cs
- FormViewCommandEventArgs.cs
- BeginEvent.cs
- StateWorkerRequest.cs
- PassportAuthenticationEventArgs.cs
- ConnectionManagementElement.cs
- LayoutManager.cs
- MarkupObject.cs
- TypeInfo.cs
- WebServiceClientProxyGenerator.cs
- DeferredRunTextReference.cs
- ProcessHost.cs
- ParentQuery.cs
- ControlDesigner.cs
- TemplateGroupCollection.cs
- PropertyKey.cs
- Html32TextWriter.cs
- AppDomainGrammarProxy.cs
- BindingsCollection.cs
- ObjectKeyFrameCollection.cs
- NativeRightsManagementAPIsStructures.cs
- AlphaSortedEnumConverter.cs
- StringUtil.cs
- XdrBuilder.cs
- TakeQueryOptionExpression.cs
- DataBinder.cs
- ConsoleCancelEventArgs.cs
- ObjectStorage.cs
- Knowncolors.cs
- TypedReference.cs
- AxDesigner.cs
- NullableFloatAverageAggregationOperator.cs
- SharedStatics.cs
- UnsafeNativeMethods.cs
- RijndaelManagedTransform.cs
- CustomErrorsSectionWrapper.cs
- IndicShape.cs
- XmlNodeChangedEventArgs.cs
- printdlgexmarshaler.cs
- DataViewSettingCollection.cs
- HeaderUtility.cs
- DecoderFallback.cs
- ChtmlTextWriter.cs
- DataSysAttribute.cs
- WorkflowDesigner.cs
- ListManagerBindingsCollection.cs
- _ScatterGatherBuffers.cs
- FacetValues.cs
- RouteData.cs
- OdbcCommandBuilder.cs
- DataServiceContext.cs
- LinkTarget.cs
- ProfileService.cs
- ImageAttributes.cs
- GlobalItem.cs
- XmlSchemaNotation.cs
- GroupLabel.cs
- RootNamespaceAttribute.cs
- SqlNamer.cs
- WebPartAddingEventArgs.cs
- Compiler.cs
- XpsDigitalSignature.cs
- SolidColorBrush.cs
- MonitorWrapper.cs
- DockingAttribute.cs
- XamlTemplateSerializer.cs
- Helper.cs
- DropDownList.cs
- InputBuffer.cs
- DynamicField.cs
- _ListenerResponseStream.cs
- RegistryPermission.cs
- ListControl.cs
- TextDecoration.cs
- XmlSequenceWriter.cs
- TimeZoneInfo.cs
- XmlNullResolver.cs