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
- AttributeData.cs
- RequestNavigateEventArgs.cs
- TableCell.cs
- DoubleLinkList.cs
- ManagementException.cs
- CleanUpVirtualizedItemEventArgs.cs
- StreamInfo.cs
- ColumnCollection.cs
- DocumentOrderQuery.cs
- AnnotationStore.cs
- HtmlTableCellCollection.cs
- GroupItemAutomationPeer.cs
- ListViewTableCell.cs
- PeerUnsafeNativeMethods.cs
- SamlSubjectStatement.cs
- LessThan.cs
- Opcode.cs
- _ProxyChain.cs
- RouteUrlExpressionBuilder.cs
- RemotingAttributes.cs
- WebPartConnectionsCloseVerb.cs
- RootBuilder.cs
- securitymgrsite.cs
- TabItem.cs
- SqlBulkCopy.cs
- WithStatement.cs
- PropertyEmitter.cs
- OleDbException.cs
- KeyInstance.cs
- BaseWebProxyFinder.cs
- InputLanguageProfileNotifySink.cs
- AutoGeneratedField.cs
- UnmanagedMemoryStream.cs
- FrameworkElement.cs
- PasswordRecoveryDesigner.cs
- WinHttpWebProxyFinder.cs
- ComboBox.cs
- OdbcStatementHandle.cs
- TypeLoadException.cs
- ToolStripSystemRenderer.cs
- PrincipalPermission.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- StopStoryboard.cs
- XmlSortKey.cs
- _Rfc2616CacheValidators.cs
- CodeRegionDirective.cs
- ISFTagAndGuidCache.cs
- ApplicationSettingsBase.cs
- TdsRecordBufferSetter.cs
- FixedSOMLineRanges.cs
- RichTextBox.cs
- EnumerableRowCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- WebPartHeaderCloseVerb.cs
- SafeNativeMethods.cs
- HwndAppCommandInputProvider.cs
- TaskHelper.cs
- SplitterCancelEvent.cs
- DynamicValueConverter.cs
- ExtensionWindow.cs
- SelectionManager.cs
- LocatorGroup.cs
- ClientScriptManagerWrapper.cs
- XPSSignatureDefinition.cs
- DataControlReference.cs
- EntityKey.cs
- CodeDirectiveCollection.cs
- HttpContextBase.cs
- ImageList.cs
- ZeroOpNode.cs
- peersecurityelement.cs
- DataServiceQueryException.cs
- FrameSecurityDescriptor.cs
- RawKeyboardInputReport.cs
- Part.cs
- SiteMapDataSource.cs
- TextDpi.cs
- TextSimpleMarkerProperties.cs
- JumpTask.cs
- ToolStripScrollButton.cs
- TemplateBindingExpression.cs
- StringUtil.cs
- PopOutPanel.cs
- MinMaxParagraphWidth.cs
- RelationshipWrapper.cs
- PrintPageEvent.cs
- ProxyManager.cs
- EntityCommand.cs
- GridItemProviderWrapper.cs
- CompressedStack.cs
- WebConfigurationManager.cs
- CfgRule.cs
- SystemWebCachingSectionGroup.cs
- PathSegment.cs
- DataGridRowClipboardEventArgs.cs
- CodeDefaultValueExpression.cs
- ImagingCache.cs
- CodeMemberEvent.cs
- AutoSizeComboBox.cs
- WorkflowTransactionService.cs