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
- ResourceExpressionBuilder.cs
- PiiTraceSource.cs
- ArrayExtension.cs
- SqlDataSourceStatusEventArgs.cs
- SessionViewState.cs
- RuntimeResourceSet.cs
- BatchStream.cs
- TrustManager.cs
- Run.cs
- DecoderReplacementFallback.cs
- Material.cs
- DBSchemaRow.cs
- ResponseBodyWriter.cs
- StreamSecurityUpgradeInitiator.cs
- AnimationStorage.cs
- TreeNode.cs
- Point3DIndependentAnimationStorage.cs
- LoginCancelEventArgs.cs
- Frame.cs
- BufferBuilder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- FieldBuilder.cs
- TemplateBaseAction.cs
- HttpStreamFormatter.cs
- ScopelessEnumAttribute.cs
- ConfigurationStrings.cs
- RequestCacheEntry.cs
- ProgressPage.cs
- XsltFunctions.cs
- TextPointer.cs
- UrlMapping.cs
- NullRuntimeConfig.cs
- IPEndPoint.cs
- Int32KeyFrameCollection.cs
- IApplicationTrustManager.cs
- QueryProcessor.cs
- BrushProxy.cs
- WorkflowDebuggerSteppingAttribute.cs
- DataServiceQueryOfT.cs
- StatusBar.cs
- HttpCacheVary.cs
- EnumMember.cs
- ContentPresenter.cs
- CodeBinaryOperatorExpression.cs
- DbConvert.cs
- ExpressionVisitorHelpers.cs
- ValueConversionAttribute.cs
- SequentialActivityDesigner.cs
- followingquery.cs
- PipeException.cs
- HttpHandlerAction.cs
- WindowsStatusBar.cs
- OdbcError.cs
- Operand.cs
- Polyline.cs
- RegexGroupCollection.cs
- RowsCopiedEventArgs.cs
- TextServicesProperty.cs
- SwitchElementsCollection.cs
- SignedInfo.cs
- PieceNameHelper.cs
- SchemaConstraints.cs
- RectAnimationUsingKeyFrames.cs
- ThrowHelper.cs
- HtmlInputRadioButton.cs
- TemplateControl.cs
- CheckPair.cs
- BitmapEffectDrawing.cs
- DataControlFieldCollection.cs
- CellTreeNode.cs
- ProgressBarRenderer.cs
- ContactManager.cs
- TextDecorations.cs
- SafeSecurityHandles.cs
- ContextMenuStrip.cs
- FlowDocumentView.cs
- FilePrompt.cs
- CustomError.cs
- DiffuseMaterial.cs
- DynamicValueConverter.cs
- EditingCommands.cs
- EventSinkHelperWriter.cs
- InvokeMethodActivity.cs
- CreateParams.cs
- SchemaType.cs
- PointCollectionConverter.cs
- GridViewUpdatedEventArgs.cs
- PageAdapter.cs
- DataGridViewCellFormattingEventArgs.cs
- ReflectionUtil.cs
- LocalBuilder.cs
- WrappedReader.cs
- RawStylusInputCustomDataList.cs
- ProcessRequestAsyncResult.cs
- ImpersonateTokenRef.cs
- WeakHashtable.cs
- XmlWrappingWriter.cs
- TreeViewAutomationPeer.cs
- Privilege.cs
- bidPrivateBase.cs