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
- EntityContainerEmitter.cs
- PageThemeParser.cs
- DependencyObject.cs
- WrapPanel.cs
- VersionPair.cs
- ColumnMapCopier.cs
- EnvironmentPermission.cs
- EncryptedData.cs
- PageAdapter.cs
- DataControlImageButton.cs
- IndexerNameAttribute.cs
- HttpResponseWrapper.cs
- iisPickupDirectory.cs
- SerializerProvider.cs
- PropertyManager.cs
- WebPartsPersonalization.cs
- IndexOutOfRangeException.cs
- EDesignUtil.cs
- RefType.cs
- PageRanges.cs
- TextBoxAutoCompleteSourceConverter.cs
- BaseUriHelper.cs
- ValueHandle.cs
- DataRowView.cs
- AdornedElementPlaceholder.cs
- SamlSubject.cs
- DataConnectionHelper.cs
- Icon.cs
- SoapMessage.cs
- Array.cs
- SqlXml.cs
- HttpModulesSection.cs
- TitleStyle.cs
- PackWebResponse.cs
- Help.cs
- ProfileModule.cs
- ArcSegment.cs
- PluralizationServiceUtil.cs
- ListBase.cs
- EdmSchemaError.cs
- TemplateBindingExpressionConverter.cs
- AbsoluteQuery.cs
- TransportSecurityProtocolFactory.cs
- ClientScriptManagerWrapper.cs
- AutoGeneratedField.cs
- SQlBooleanStorage.cs
- Process.cs
- EdmItemCollection.cs
- WindowsListViewGroupHelper.cs
- CommonDialog.cs
- WebPartMinimizeVerb.cs
- WorkflowMarkupSerializerMapping.cs
- ReadOnlyNameValueCollection.cs
- AppDomain.cs
- RequestCacheEntry.cs
- SourceSwitch.cs
- XmlAggregates.cs
- TypeBinaryExpression.cs
- MetadataCacheItem.cs
- AsyncPostBackErrorEventArgs.cs
- TreeViewEvent.cs
- EditorPart.cs
- RewritingPass.cs
- InputMethodStateChangeEventArgs.cs
- Timeline.cs
- CodeStatement.cs
- ResXBuildProvider.cs
- ToolBar.cs
- COMException.cs
- PageCatalogPart.cs
- TabletDeviceInfo.cs
- AlternateView.cs
- SqlDataSource.cs
- PrintPageEvent.cs
- XmlSchemaComplexType.cs
- DataKeyArray.cs
- CreateUserErrorEventArgs.cs
- Exception.cs
- ShutDownListener.cs
- Vector3DAnimationBase.cs
- ProtectedProviderSettings.cs
- ManipulationLogic.cs
- Keywords.cs
- PrintController.cs
- DivideByZeroException.cs
- XmlSchemaRedefine.cs
- AsyncStreamReader.cs
- BitmapEditor.cs
- ConstructorBuilder.cs
- SecuritySessionClientSettings.cs
- CLRBindingWorker.cs
- CharStorage.cs
- ResolveResponse.cs
- NonVisualControlAttribute.cs
- DateTimeConverter.cs
- XmlMapping.cs
- XmlConvert.cs
- StatusStrip.cs
- ModelVisual3D.cs
- TreeViewItemAutomationPeer.cs