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
- XmlAttributeAttribute.cs
- PrintDialogException.cs
- XmlDomTextWriter.cs
- CollectionViewSource.cs
- DocumentEventArgs.cs
- SignerInfo.cs
- TrustManager.cs
- DocumentPageHost.cs
- VisualCollection.cs
- ProcessInputEventArgs.cs
- MultiView.cs
- ErrorHandler.cs
- LoaderAllocator.cs
- HandleRef.cs
- WindowsGraphicsCacheManager.cs
- HwndSubclass.cs
- OutputScope.cs
- FixedSOMPageConstructor.cs
- ClientScriptItemCollection.cs
- ApplicationGesture.cs
- GiveFeedbackEventArgs.cs
- SqlStatistics.cs
- WebDescriptionAttribute.cs
- NameValuePermission.cs
- ConfigXmlElement.cs
- SimpleFieldTemplateFactory.cs
- DomNameTable.cs
- COM2PropertyPageUITypeConverter.cs
- CompilerLocalReference.cs
- CngProvider.cs
- ImageBrush.cs
- RSAOAEPKeyExchangeFormatter.cs
- MDIClient.cs
- Floater.cs
- shaperfactory.cs
- InternalsVisibleToAttribute.cs
- PaintEvent.cs
- OAVariantLib.cs
- localization.cs
- PartDesigner.cs
- PrintController.cs
- FaultCode.cs
- SafeRsaProviderHandle.cs
- AssemblyBuilder.cs
- ConditionCollection.cs
- ResourceReferenceExpression.cs
- FamilyCollection.cs
- AllMembershipCondition.cs
- AttributeSetAction.cs
- Compiler.cs
- CapabilitiesRule.cs
- LinkedResource.cs
- HttpValueCollection.cs
- WaitHandle.cs
- ScrollProviderWrapper.cs
- FontUnitConverter.cs
- PassportPrincipal.cs
- XmlnsCompatibleWithAttribute.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SmtpMail.cs
- Lease.cs
- HwndSubclass.cs
- ToolboxItemAttribute.cs
- SafeEventHandle.cs
- WebResponse.cs
- BitmapMetadataEnumerator.cs
- RegexCompiler.cs
- SiteMapDataSourceView.cs
- ChannelServices.cs
- InputScopeNameConverter.cs
- ToolStripArrowRenderEventArgs.cs
- HyperLinkColumn.cs
- _Win32.cs
- SrgsGrammarCompiler.cs
- Margins.cs
- DelayedRegex.cs
- FloatAverageAggregationOperator.cs
- CollectionViewProxy.cs
- FontCacheUtil.cs
- SystemMulticastIPAddressInformation.cs
- SmtpTransport.cs
- StructuredTypeEmitter.cs
- FieldTemplateUserControl.cs
- SQLDateTimeStorage.cs
- LocalizableAttribute.cs
- ContractTypeNameCollection.cs
- BaseConfigurationRecord.cs
- TypeDescriptor.cs
- WebPartHeaderCloseVerb.cs
- SrgsDocument.cs
- IgnoreFileBuildProvider.cs
- Filter.cs
- XmlSchemaComplexType.cs
- PreservationFileReader.cs
- WorkflowServiceNamespace.cs
- KeyValuePair.cs
- AmbientValueAttribute.cs
- XmlILAnnotation.cs
- StoreItemCollection.cs
- AnonymousIdentificationModule.cs