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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogicalExpr.cs
- InheritablePropertyChangeInfo.cs
- EventListener.cs
- InputMethodStateChangeEventArgs.cs
- SafeNativeMethods.cs
- WebPartDisplayMode.cs
- WebHttpEndpointElement.cs
- TypeDescriptionProvider.cs
- Registry.cs
- xmlfixedPageInfo.cs
- WrapperSecurityCommunicationObject.cs
- SimpleWorkerRequest.cs
- BindingList.cs
- HtmlTableCellCollection.cs
- DbException.cs
- RequestTimeoutManager.cs
- InheritedPropertyChangedEventArgs.cs
- PtsCache.cs
- DataGridViewCellCollection.cs
- XmlReader.cs
- AutomationEvent.cs
- ElapsedEventArgs.cs
- SecurityException.cs
- BooleanStorage.cs
- DetailsViewRow.cs
- BinaryMethodMessage.cs
- ObjectReferenceStack.cs
- PageRanges.cs
- DomainUpDown.cs
- DescendantBaseQuery.cs
- TcpAppDomainProtocolHandler.cs
- DataFieldCollectionEditor.cs
- WindowsPrincipal.cs
- ListViewGroup.cs
- XmlILIndex.cs
- PackageStore.cs
- AnnotationAuthorChangedEventArgs.cs
- CodeThrowExceptionStatement.cs
- TreeNodeStyle.cs
- TreeNodeCollection.cs
- SymbolType.cs
- CommandDevice.cs
- CTreeGenerator.cs
- Registry.cs
- MeasureData.cs
- OverrideMode.cs
- Marshal.cs
- AnnotationHelper.cs
- EntryPointNotFoundException.cs
- EmptyEnumerable.cs
- ImportOptions.cs
- DeviceSpecificChoiceCollection.cs
- ButtonRenderer.cs
- SoapEnumAttribute.cs
- TCPListener.cs
- ReadOnlyCollection.cs
- LowerCaseStringConverter.cs
- TreeViewEvent.cs
- SoapAttributeOverrides.cs
- PatternMatcher.cs
- webeventbuffer.cs
- EpmContentDeSerializer.cs
- BitmapEffectvisualstate.cs
- TextWriter.cs
- NavigatorInput.cs
- TokenBasedSetEnumerator.cs
- UITypeEditors.cs
- BitmapEffectDrawingContent.cs
- XamlSerializer.cs
- PtsPage.cs
- PointLightBase.cs
- WebPartMinimizeVerb.cs
- RuleSettingsCollection.cs
- ThreadNeutralSemaphore.cs
- SafeEventLogWriteHandle.cs
- URLEditor.cs
- OleDbConnection.cs
- ReturnEventArgs.cs
- MimeTextImporter.cs
- KeyToListMap.cs
- RC2CryptoServiceProvider.cs
- ConnectionPoint.cs
- DependencyObjectType.cs
- NotCondition.cs
- SqlCommand.cs
- ConsoleCancelEventArgs.cs
- ListViewItem.cs
- Size3DConverter.cs
- StoreItemCollection.cs
- VerticalAlignConverter.cs
- GridSplitter.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- CacheAxisQuery.cs
- TimelineGroup.cs
- UIAgentAsyncBeginRequest.cs
- FilterQueryOptionExpression.cs
- TerminatorSinks.cs
- TPLETWProvider.cs
- DragDeltaEventArgs.cs
- TreeIterator.cs