Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- MSHTMLHost.cs
- ScrollProviderWrapper.cs
- JapaneseLunisolarCalendar.cs
- SortDescription.cs
- keycontainerpermission.cs
- SimpleApplicationHost.cs
- FirstMatchCodeGroup.cs
- IDReferencePropertyAttribute.cs
- X509Chain.cs
- ListViewCommandEventArgs.cs
- NameObjectCollectionBase.cs
- StdValidatorsAndConverters.cs
- VirtualDirectoryMappingCollection.cs
- UnionCodeGroup.cs
- TypeSystemProvider.cs
- OpenFileDialog.cs
- DbException.cs
- PropertyPathWorker.cs
- PkcsMisc.cs
- _UncName.cs
- WindowsScrollBar.cs
- FileVersionInfo.cs
- ImportCatalogPart.cs
- X509Utils.cs
- EncryptedReference.cs
- TypeToken.cs
- SecurityPermission.cs
- InputBindingCollection.cs
- CqlLexerHelpers.cs
- ConstraintEnumerator.cs
- XmlTextReader.cs
- InputScopeNameConverter.cs
- DrawListViewItemEventArgs.cs
- MultipleCopiesCollection.cs
- MethodBody.cs
- DataGridViewLinkCell.cs
- AmbientProperties.cs
- OrthographicCamera.cs
- HtmlDocument.cs
- HyperLinkStyle.cs
- BrowserTree.cs
- FragmentQueryProcessor.cs
- NameObjectCollectionBase.cs
- PageBreakRecord.cs
- SpeakCompletedEventArgs.cs
- VirtualDirectoryMappingCollection.cs
- UrlPropertyAttribute.cs
- TypeBuilderInstantiation.cs
- BlockCollection.cs
- TextContainer.cs
- ObjectDataProvider.cs
- ArglessEventHandlerProxy.cs
- SqlDataSourceConfigureSortForm.cs
- XsltArgumentList.cs
- BrowserTree.cs
- MethodExpression.cs
- TextShapeableCharacters.cs
- JoinTreeSlot.cs
- SubclassTypeValidatorAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- OrderedEnumerableRowCollection.cs
- AutoFocusStyle.xaml.cs
- httpstaticobjectscollection.cs
- TreeViewItem.cs
- PrivilegedConfigurationManager.cs
- DetailsViewModeEventArgs.cs
- TextBox.cs
- WebPartTracker.cs
- GroupStyle.cs
- SelectorAutomationPeer.cs
- ServiceDiscoveryBehavior.cs
- ThicknessAnimationUsingKeyFrames.cs
- bindurihelper.cs
- CqlIdentifiers.cs
- InheritanceAttribute.cs
- ReferenceSchema.cs
- EncryptedPackage.cs
- UpdateCommand.cs
- ValueSerializer.cs
- BufferModeSettings.cs
- Color.cs
- LicenseException.cs
- XmlChildNodes.cs
- ChannelPoolSettings.cs
- DelegatingTypeDescriptionProvider.cs
- RotateTransform3D.cs
- EventLogEntryCollection.cs
- XmlSchemaSet.cs
- TypeDescriptionProvider.cs
- Transform.cs
- FontStyle.cs
- DbExpressionBuilder.cs
- CultureMapper.cs
- PasswordBox.cs
- InsufficientMemoryException.cs
- SqlExpander.cs
- Geometry.cs
- DataRecordObjectView.cs
- TextMarkerSource.cs
- ObjectAssociationEndMapping.cs