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
- XPathNavigator.cs
- Image.cs
- ImageConverter.cs
- EdmFunctions.cs
- ProfileEventArgs.cs
- ContextProperty.cs
- SqlConnectionFactory.cs
- RtfToken.cs
- TextDecorationUnitValidation.cs
- TableRow.cs
- WebPartTracker.cs
- WindowsAuthenticationModule.cs
- KeyPullup.cs
- CapabilitiesUse.cs
- RtType.cs
- RuntimeIdentifierPropertyAttribute.cs
- SortQuery.cs
- XmlSerializableReader.cs
- Tokenizer.cs
- RtfToXamlLexer.cs
- ReflectionTypeLoadException.cs
- WorkflowMarkupSerializationException.cs
- IntSumAggregationOperator.cs
- SqlProcedureAttribute.cs
- Enlistment.cs
- CfgParser.cs
- TemplateBindingExpressionConverter.cs
- PrintSchema.cs
- WebPartDescriptionCollection.cs
- DynamicRendererThreadManager.cs
- XhtmlBasicControlAdapter.cs
- UnsafeNativeMethods.cs
- NotFiniteNumberException.cs
- BinaryFormatter.cs
- HtmlTable.cs
- KnownBoxes.cs
- ExpressionBuilder.cs
- BitmapImage.cs
- TemplateAction.cs
- DefaultAutoFieldGenerator.cs
- SortedList.cs
- ColumnHeaderConverter.cs
- FolderLevelBuildProviderCollection.cs
- Hash.cs
- ProxyWebPartManager.cs
- Relationship.cs
- TableColumn.cs
- StorageBasedPackageProperties.cs
- RandomDelaySendsAsyncResult.cs
- DoubleKeyFrameCollection.cs
- WebRequestModulesSection.cs
- ScaleTransform.cs
- TableAdapterManagerHelper.cs
- SqlConnectionHelper.cs
- RouteItem.cs
- TypeBuilder.cs
- CodeVariableReferenceExpression.cs
- AssemblyResourceLoader.cs
- DriveNotFoundException.cs
- HMACRIPEMD160.cs
- PrintDialogException.cs
- MulticastOption.cs
- State.cs
- SecurityContextSecurityToken.cs
- ApplicationServicesHostFactory.cs
- NativeObjectSecurity.cs
- SliderAutomationPeer.cs
- ConfigurationLocationCollection.cs
- WindowsFormsHelpers.cs
- MenuItemBindingCollection.cs
- Dump.cs
- DataGridViewCellCollection.cs
- TableRow.cs
- SizeAnimation.cs
- FormsAuthentication.cs
- ActivationArguments.cs
- ImageIndexConverter.cs
- DLinqAssociationProvider.cs
- TemplateInstanceAttribute.cs
- InternalsVisibleToAttribute.cs
- InsufficientMemoryException.cs
- BatchStream.cs
- BaseServiceProvider.cs
- PromptStyle.cs
- BitArray.cs
- NullableBoolConverter.cs
- Clause.cs
- Translator.cs
- ToolStripStatusLabel.cs
- RemotingException.cs
- MediaTimeline.cs
- SqlDataReaderSmi.cs
- SoapInteropTypes.cs
- ObjectConverter.cs
- SafeProcessHandle.cs
- DataGridViewLinkCell.cs
- SqlRowUpdatedEvent.cs
- SoapExtensionReflector.cs
- SoapBinding.cs
- MSAANativeProvider.cs