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
- HttpCookie.cs
- UnitySerializationHolder.cs
- XmlReader.cs
- BitmapFrame.cs
- FixedDocumentSequencePaginator.cs
- TaskFileService.cs
- ResourceManagerWrapper.cs
- StateDesignerConnector.cs
- CodeEventReferenceExpression.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Automation.cs
- WizardSideBarListControlItemEventArgs.cs
- InfoCardTraceRecord.cs
- DomNameTable.cs
- DataProviderNameConverter.cs
- ParallelLoopState.cs
- OdbcCommand.cs
- selecteditemcollection.cs
- ParallelTimeline.cs
- BindingExpression.cs
- ExceptionUtil.cs
- HwndSourceParameters.cs
- XsdValidatingReader.cs
- DataGridViewMethods.cs
- ServiceX509SecurityTokenProvider.cs
- SecurityKeyIdentifier.cs
- CodeTypeReferenceExpression.cs
- Selector.cs
- ValidatedControlConverter.cs
- InvariantComparer.cs
- StaticResourceExtension.cs
- FocusChangedEventArgs.cs
- TimeSpanSecondsConverter.cs
- MaskedTextBoxTextEditor.cs
- PolyLineSegmentFigureLogic.cs
- HashCodeCombiner.cs
- MenuAdapter.cs
- PenThreadWorker.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- StorageFunctionMapping.cs
- Label.cs
- OdbcException.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CryptoKeySecurity.cs
- TextPattern.cs
- HMACMD5.cs
- ToolStripGripRenderEventArgs.cs
- TextElement.cs
- LookupBindingPropertiesAttribute.cs
- CurrencyManager.cs
- WebPartsPersonalization.cs
- TimeSpanConverter.cs
- TcpAppDomainProtocolHandler.cs
- HtmlInputButton.cs
- AnnotationStore.cs
- DragEvent.cs
- CaseInsensitiveComparer.cs
- ConnectionPoolManager.cs
- StorageAssociationTypeMapping.cs
- cache.cs
- ConnectivityStatus.cs
- ConfigXmlElement.cs
- TraceSwitch.cs
- ObjectPropertyMapping.cs
- GeometryCombineModeValidation.cs
- ControlParser.cs
- AsynchronousChannelMergeEnumerator.cs
- SaveFileDialog.cs
- DataColumnPropertyDescriptor.cs
- ProtocolsInstallComponent.cs
- CodeDomLoader.cs
- SingleObjectCollection.cs
- RangeValidator.cs
- GeometryDrawing.cs
- SyndicationItem.cs
- FileInfo.cs
- NegotiateStream.cs
- UDPClient.cs
- PropertyFilterAttribute.cs
- BaseTreeIterator.cs
- XmlSchemaInfo.cs
- StringBuilder.cs
- PeerNameRegistration.cs
- CodeSnippetCompileUnit.cs
- ControlValuePropertyAttribute.cs
- BitmapImage.cs
- Preprocessor.cs
- XmlNullResolver.cs
- SafeFileHandle.cs
- WindowHideOrCloseTracker.cs
- PointHitTestResult.cs
- PeerNearMe.cs
- TraceAsyncResult.cs
- uribuilder.cs
- SaveFileDialog.cs
- LeaseManager.cs
- UniqueEventHelper.cs
- PageClientProxyGenerator.cs
- MarshalByRefObject.cs
- ContextMenuStripGroup.cs