Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DesignerAttribute.cs
- SimpleApplicationHost.cs
- DataReceivedEventArgs.cs
- FrugalList.cs
- FatalException.cs
- WebPartAuthorizationEventArgs.cs
- ControllableStoryboardAction.cs
- HtmlElementErrorEventArgs.cs
- PartialArray.cs
- StateMachineWorkflowInstance.cs
- SessionStateContainer.cs
- TwoPhaseCommit.cs
- FrameworkContentElement.cs
- XpsFixedPageReaderWriter.cs
- ErrorHandler.cs
- JsonReaderWriterFactory.cs
- LiteralControl.cs
- ImageBrush.cs
- _FtpControlStream.cs
- ToolStripLabel.cs
- IdleTimeoutMonitor.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Attributes.cs
- oledbconnectionstring.cs
- ProcessStartInfo.cs
- ping.cs
- RequiredAttributeAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- CheckBoxAutomationPeer.cs
- ConditionChanges.cs
- DodSequenceMerge.cs
- DbMetaDataFactory.cs
- AnimationClock.cs
- StylusDevice.cs
- XmlAttributeCollection.cs
- MultiAsyncResult.cs
- ImagingCache.cs
- DataGridViewSortCompareEventArgs.cs
- FontCacheUtil.cs
- WebServiceClientProxyGenerator.cs
- SrgsGrammar.cs
- Symbol.cs
- SplayTreeNode.cs
- CodeFieldReferenceExpression.cs
- DataGridViewElement.cs
- GeometryValueSerializer.cs
- CredentialCache.cs
- ObjectRef.cs
- DictionaryContent.cs
- Form.cs
- SecurityUtils.cs
- StatusBarItemAutomationPeer.cs
- ServiceObjectContainer.cs
- TabItemAutomationPeer.cs
- TypeBuilderInstantiation.cs
- FontUnitConverter.cs
- BitmapEffectState.cs
- DebugHandleTracker.cs
- CorrelationToken.cs
- ReversePositionQuery.cs
- RegisteredExpandoAttribute.cs
- InProcStateClientManager.cs
- SurrogateSelector.cs
- RunClient.cs
- SocketCache.cs
- DrawingImage.cs
- ExtensionSimplifierMarkupObject.cs
- HttpProxyCredentialType.cs
- XNodeNavigator.cs
- TypeNameConverter.cs
- RuntimeArgumentHandle.cs
- BaseDataList.cs
- DataColumnMappingCollection.cs
- FullTextBreakpoint.cs
- HostedTransportConfigurationManager.cs
- DataKey.cs
- SqlConnectionPoolGroupProviderInfo.cs
- EditBehavior.cs
- TraceUtils.cs
- PrintPreviewControl.cs
- DtdParser.cs
- SecurityElement.cs
- x509utils.cs
- CodeComment.cs
- DataGridView.cs
- WebBrowserNavigatedEventHandler.cs
- ThemeDictionaryExtension.cs
- SimpleHandlerBuildProvider.cs
- IPGlobalProperties.cs
- ReferenceCountedObject.cs
- AsyncDataRequest.cs
- ClientData.cs
- DataPagerField.cs
- XmlObjectSerializerReadContextComplex.cs
- TreeNodeCollection.cs
- DefaultMemberAttribute.cs
- VolatileEnlistmentState.cs
- ComponentResourceManager.cs
- entityreference_tresulttype.cs
- ZipIOExtraFieldZip64Element.cs