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
- RawAppCommandInputReport.cs
- CellParaClient.cs
- IERequestCache.cs
- TdsParserSessionPool.cs
- RestHandler.cs
- ResolvedKeyFrameEntry.cs
- QueryableDataSourceView.cs
- SqlCachedBuffer.cs
- InternalSendMessage.cs
- LoadItemsEventArgs.cs
- SecurityUniqueId.cs
- AppDomainFactory.cs
- ReachUIElementCollectionSerializer.cs
- ServiceContractListItemList.cs
- Adorner.cs
- ResourceContainer.cs
- TextChangedEventArgs.cs
- SafeEventLogWriteHandle.cs
- LightweightCodeGenerator.cs
- SecurityManager.cs
- IdentityReference.cs
- TextCollapsingProperties.cs
- MergablePropertyAttribute.cs
- FormViewDesigner.cs
- ResourceAssociationTypeEnd.cs
- TraceSource.cs
- RangeBaseAutomationPeer.cs
- EmbeddedMailObject.cs
- ToolStripStatusLabel.cs
- TcpHostedTransportConfiguration.cs
- GuidelineCollection.cs
- RtfControlWordInfo.cs
- HelpProvider.cs
- UnauthorizedAccessException.cs
- Pen.cs
- BamlCollectionHolder.cs
- Animatable.cs
- StringFunctions.cs
- DoubleCollectionValueSerializer.cs
- PartitionedStream.cs
- SqlUDTStorage.cs
- PathGeometry.cs
- User.cs
- FlowDocumentPage.cs
- SqlDataSourceRefreshSchemaForm.cs
- NumericUpDown.cs
- List.cs
- EdmMember.cs
- DetailsViewUpdatedEventArgs.cs
- TPLETWProvider.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- Padding.cs
- Literal.cs
- GACMembershipCondition.cs
- VersionedStreamOwner.cs
- _SafeNetHandles.cs
- ConnectionStringsExpressionEditor.cs
- ScalarConstant.cs
- Types.cs
- StoreContentChangedEventArgs.cs
- HealthMonitoringSection.cs
- XmlSchemaCompilationSettings.cs
- SchemaImporter.cs
- IImplicitResourceProvider.cs
- ProxyHwnd.cs
- CacheSection.cs
- ServiceAuthorizationManager.cs
- HandledMouseEvent.cs
- SmiSettersStream.cs
- NullRuntimeConfig.cs
- UnsafeNativeMethods.cs
- ControlCachePolicy.cs
- InternalException.cs
- VirtualizedCellInfoCollection.cs
- Vector.cs
- SchemaInfo.cs
- StandardBindingImporter.cs
- MenuCommand.cs
- WebPartTransformer.cs
- WebBrowserUriTypeConverter.cs
- QueryGeneratorBase.cs
- PermissionToken.cs
- PhonemeConverter.cs
- PropVariant.cs
- UIElementParaClient.cs
- RichTextBoxConstants.cs
- TileModeValidation.cs
- NamespaceDisplayAutomationPeer.cs
- DrawTreeNodeEventArgs.cs
- SQLSingleStorage.cs
- EntityViewGenerator.cs
- Zone.cs
- TextSyndicationContentKindHelper.cs
- InputMethodStateTypeInfo.cs
- CodeStatement.cs
- HostingEnvironment.cs
- DataServiceBuildProvider.cs
- SolidColorBrush.cs
- EpmSourcePathSegment.cs
- ScrollPattern.cs