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
- Debug.cs
- DockPattern.cs
- ValidationHelpers.cs
- XmlTextReaderImpl.cs
- StreamedWorkflowDefinitionContext.cs
- MimeFormatExtensions.cs
- Speller.cs
- BoundField.cs
- DocumentReferenceCollection.cs
- IndexingContentUnit.cs
- HTMLTextWriter.cs
- SystemInfo.cs
- SqlDataSourceCache.cs
- TemplatePagerField.cs
- XPathSingletonIterator.cs
- DataViewSetting.cs
- DataControlCommands.cs
- TreeNodeBindingCollection.cs
- Exceptions.cs
- Pair.cs
- IPGlobalProperties.cs
- Graphics.cs
- ColorInterpolationModeValidation.cs
- COM2PropertyPageUITypeConverter.cs
- X509CertificateValidator.cs
- XmlSchemaAppInfo.cs
- WindowPattern.cs
- HttpCachePolicy.cs
- XmlQuerySequence.cs
- ElementNotAvailableException.cs
- FormViewInsertedEventArgs.cs
- DispatchProxy.cs
- _HeaderInfo.cs
- IDispatchConstantAttribute.cs
- PreDigestedSignedInfo.cs
- FormsAuthenticationConfiguration.cs
- rsa.cs
- SetIndexBinder.cs
- RegistrationServices.cs
- NameService.cs
- ContextQuery.cs
- AppDomainGrammarProxy.cs
- StrokeNodeEnumerator.cs
- DbDataAdapter.cs
- PKCS1MaskGenerationMethod.cs
- LockCookie.cs
- SmiRequestExecutor.cs
- PromptStyle.cs
- Clipboard.cs
- Decorator.cs
- ConnectionStringSettings.cs
- CompositeScriptReference.cs
- connectionpool.cs
- AutomationElement.cs
- Gdiplus.cs
- CodeSubDirectory.cs
- Int16AnimationBase.cs
- CallSiteHelpers.cs
- StorageSetMapping.cs
- GPRECTF.cs
- PropertyMap.cs
- ServerIdentity.cs
- SchemaImporterExtensionElementCollection.cs
- ExpressionBinding.cs
- PasswordTextContainer.cs
- XPathAncestorIterator.cs
- TypeUsageBuilder.cs
- ScrollChrome.cs
- CompositeFontInfo.cs
- GridViewSortEventArgs.cs
- DateTimeValueSerializerContext.cs
- XmlExtensionFunction.cs
- Package.cs
- CodeDirectionExpression.cs
- NamedPipeProcessProtocolHandler.cs
- Validator.cs
- GridView.cs
- ProviderManager.cs
- StorageEntitySetMapping.cs
- ToolStripSeparatorRenderEventArgs.cs
- _LocalDataStore.cs
- Int16.cs
- TypedReference.cs
- AutomationPatternInfo.cs
- ConstraintStruct.cs
- InvariantComparer.cs
- SerialPinChanges.cs
- CellNormalizer.cs
- Transform3D.cs
- DbConnectionPoolOptions.cs
- SmiTypedGetterSetter.cs
- TableLayoutPanelCellPosition.cs
- WebPartZoneBase.cs
- MimeWriter.cs
- SecurityTokenValidationException.cs
- CheckBoxRenderer.cs
- CharConverter.cs
- GradientStopCollection.cs
- ImmutableObjectAttribute.cs
- DeferredBinaryDeserializerExtension.cs