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
- shaperfactory.cs
- Int32Storage.cs
- InstanceNotReadyException.cs
- DbConnectionOptions.cs
- elementinformation.cs
- OptimalTextSource.cs
- DispatcherHookEventArgs.cs
- XPathDocument.cs
- PeerNodeTraceRecord.cs
- CanExecuteRoutedEventArgs.cs
- LostFocusEventManager.cs
- RootBuilder.cs
- Style.cs
- UnsafeCollabNativeMethods.cs
- TemplatePagerField.cs
- BuilderPropertyEntry.cs
- BaseParagraph.cs
- SerialErrors.cs
- TreeViewHitTestInfo.cs
- NetworkStream.cs
- MonitorWrapper.cs
- TextEditorThreadLocalStore.cs
- Typography.cs
- FormatConvertedBitmap.cs
- XmlExceptionHelper.cs
- ProcessHostFactoryHelper.cs
- JavaScriptObjectDeserializer.cs
- ShaperBuffers.cs
- SqlReferenceCollection.cs
- StateItem.cs
- MeshGeometry3D.cs
- CodeArrayCreateExpression.cs
- KeyValueSerializer.cs
- EnglishPluralizationService.cs
- ClientSettings.cs
- Deserializer.cs
- webclient.cs
- returneventsaver.cs
- BooleanAnimationUsingKeyFrames.cs
- EdgeModeValidation.cs
- FillErrorEventArgs.cs
- ValidateNames.cs
- CommentAction.cs
- SystemThemeKey.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- RichTextBox.cs
- RegexInterpreter.cs
- LogPolicy.cs
- QilList.cs
- CachedBitmap.cs
- EmbossBitmapEffect.cs
- ParameterCollectionEditor.cs
- EventSinkHelperWriter.cs
- EventLogTraceListener.cs
- XmlUtil.cs
- ToolStripTextBox.cs
- PropertyInformationCollection.cs
- Polygon.cs
- XmlWellformedWriter.cs
- SvcMapFile.cs
- PathParser.cs
- QuadraticBezierSegment.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- ServiceModelDictionary.cs
- UntypedNullExpression.cs
- XmlMapping.cs
- TextBox.cs
- PersonalizationStateInfoCollection.cs
- DrawingAttributesDefaultValueFactory.cs
- SchemaElementDecl.cs
- RichTextBoxAutomationPeer.cs
- TextParentUndoUnit.cs
- IdentityNotMappedException.cs
- WindowsTokenRoleProvider.cs
- SqlConnectionFactory.cs
- ArrayTypeMismatchException.cs
- ThreadStartException.cs
- BinarySerializer.cs
- COSERVERINFO.cs
- FtpWebRequest.cs
- DataControlButton.cs
- ListControlBoundActionList.cs
- WSHttpBinding.cs
- TextTreeRootTextBlock.cs
- ScrollPatternIdentifiers.cs
- COM2PropertyPageUITypeConverter.cs
- PositiveTimeSpanValidator.cs
- HtmlForm.cs
- WebPartChrome.cs
- CacheManager.cs
- FeatureSupport.cs
- ResourceAssociationSetEnd.cs
- BrowserTree.cs
- SqlNodeAnnotation.cs
- SimpleFieldTemplateUserControl.cs
- HwndMouseInputProvider.cs
- Byte.cs
- InternalConfigHost.cs
- BamlLocalizationDictionary.cs
- BaseHashHelper.cs