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
- PolyBezierSegment.cs
- Token.cs
- DataGridTable.cs
- WCFServiceClientProxyGenerator.cs
- cache.cs
- ComNativeDescriptor.cs
- MessageAction.cs
- PlatformCulture.cs
- IdnMapping.cs
- ProviderCommandInfoUtils.cs
- DataGridViewTextBoxEditingControl.cs
- SID.cs
- BooleanExpr.cs
- UriSectionReader.cs
- handlecollector.cs
- XmlSchemaComplexContentExtension.cs
- DESCryptoServiceProvider.cs
- CodeEntryPointMethod.cs
- Literal.cs
- RoleManagerEventArgs.cs
- DelegatingConfigHost.cs
- CollectionViewSource.cs
- DebugView.cs
- ChannelSinkStacks.cs
- ProgressiveCrcCalculatingStream.cs
- XsdBuildProvider.cs
- CodeTryCatchFinallyStatement.cs
- XmlSchemaAppInfo.cs
- Animatable.cs
- NameSpaceEvent.cs
- TextModifierScope.cs
- OracleTimeSpan.cs
- ForceCopyBuildProvider.cs
- ChannelSinkStacks.cs
- TempFiles.cs
- DispatcherHookEventArgs.cs
- SecurityException.cs
- BufferedMessageData.cs
- ContextConfiguration.cs
- UTF32Encoding.cs
- PageBreakRecord.cs
- _IPv6Address.cs
- Msec.cs
- SHA1Managed.cs
- StringFreezingAttribute.cs
- ComIntegrationManifestGenerator.cs
- WebPartCancelEventArgs.cs
- EntitySqlQueryCacheKey.cs
- QilSortKey.cs
- XmlSchemaType.cs
- XmlSchemaDocumentation.cs
- BitmapEffectDrawingContextState.cs
- NestedContainer.cs
- DbParameterCollection.cs
- StatusBar.cs
- SmtpDateTime.cs
- Constraint.cs
- EmbeddedObject.cs
- BindingCollection.cs
- Color.cs
- Crypto.cs
- ObjectTypeMapping.cs
- WinHttpWebProxyFinder.cs
- MimeBasePart.cs
- AutomationPropertyInfo.cs
- XsdDataContractExporter.cs
- GridView.cs
- SystemDiagnosticsSection.cs
- WebServiceEnumData.cs
- SchemaManager.cs
- Control.cs
- RenderingBiasValidation.cs
- ToolStripControlHost.cs
- SoapFaultCodes.cs
- DurationConverter.cs
- DataAccessor.cs
- SoundPlayer.cs
- SafeArrayTypeMismatchException.cs
- DbConnectionInternal.cs
- AuthenticationConfig.cs
- ObjectDataSourceStatusEventArgs.cs
- LineBreakRecord.cs
- RegularExpressionValidator.cs
- Primitive.cs
- ToolboxBitmapAttribute.cs
- RelationshipEnd.cs
- XmlC14NWriter.cs
- ViewStateAttachedPropertyFeature.cs
- ColumnBinding.cs
- DefaultDialogButtons.cs
- RelationshipWrapper.cs
- FileNotFoundException.cs
- StylusPlugInCollection.cs
- TextDecoration.cs
- VisualBrush.cs
- WorkflowDesignerColors.cs
- HttpUnhandledOperationInvoker.cs
- RemoteWebConfigurationHost.cs
- DocumentsTrace.cs
- ApplicationActivator.cs