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
- SemaphoreSlim.cs
- ContainsSearchOperator.cs
- IconHelper.cs
- RNGCryptoServiceProvider.cs
- ChangeDirector.cs
- TranslateTransform3D.cs
- SystemShuttingDownException.cs
- Set.cs
- MasterPage.cs
- TrackingProfileCache.cs
- EncoderParameters.cs
- FileDialogCustomPlace.cs
- HMACSHA256.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- MediaSystem.cs
- DefaultHttpHandler.cs
- XpsS0ValidatingLoader.cs
- DataFormats.cs
- embossbitmapeffect.cs
- XPathNodeList.cs
- TableStyle.cs
- HttpSessionStateBase.cs
- SqlCacheDependency.cs
- DeferredReference.cs
- AstNode.cs
- UncommonField.cs
- XPathException.cs
- TreeWalker.cs
- DateTimeFormatInfoScanner.cs
- shaperfactory.cs
- OleDbReferenceCollection.cs
- PingOptions.cs
- TrimSurroundingWhitespaceAttribute.cs
- FixedDSBuilder.cs
- TextPointerBase.cs
- NodeLabelEditEvent.cs
- SymDocumentType.cs
- ObjectNavigationPropertyMapping.cs
- ResXFileRef.cs
- FormatConvertedBitmap.cs
- ObjectNotFoundException.cs
- MailDefinition.cs
- DynamicValidatorEventArgs.cs
- TransformValueSerializer.cs
- EditorBrowsableAttribute.cs
- ValidationErrorCollection.cs
- EntityDescriptor.cs
- OleDbCommandBuilder.cs
- SvcMapFileLoader.cs
- MaterializeFromAtom.cs
- listitem.cs
- DocumentViewerAutomationPeer.cs
- DayRenderEvent.cs
- HttpHandlersSection.cs
- ChtmlMobileTextWriter.cs
- ListCollectionView.cs
- CompilerGeneratedAttribute.cs
- SQLBoolean.cs
- HttpListenerRequest.cs
- FormatterConverter.cs
- XmlNodeWriter.cs
- DoubleLinkListEnumerator.cs
- SqlVisitor.cs
- KeyTime.cs
- Permission.cs
- RegisteredHiddenField.cs
- BrowsableAttribute.cs
- CacheMemory.cs
- input.cs
- sqlmetadatafactory.cs
- MetadataPropertyvalue.cs
- SessionStateSection.cs
- SaveFileDialog.cs
- DataGridViewCellCollection.cs
- ModelPropertyDescriptor.cs
- ObjectMemberMapping.cs
- DataObjectFieldAttribute.cs
- XmlStreamStore.cs
- WebPartEditorCancelVerb.cs
- validationstate.cs
- ProviderBase.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ProcessHostConfigUtils.cs
- CharAnimationUsingKeyFrames.cs
- AddingNewEventArgs.cs
- invalidudtexception.cs
- DataGridBoolColumn.cs
- ReaderWriterLockSlim.cs
- BrowserCapabilitiesCodeGenerator.cs
- MostlySingletonList.cs
- Label.cs
- ToolStripPanelCell.cs
- TdsParser.cs
- DataBindingCollection.cs
- ToolstripProfessionalRenderer.cs
- CursorInteropHelper.cs
- GiveFeedbackEvent.cs
- SqlDataSourceTableQuery.cs
- UriPrefixTable.cs
- PropertyTabChangedEvent.cs