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
- WebServiceData.cs
- PeerTransportSecuritySettings.cs
- TdsParserHelperClasses.cs
- EncoderParameter.cs
- PropertyValue.cs
- XmlSchemaValidator.cs
- RowToFieldTransformer.cs
- MulticastNotSupportedException.cs
- Function.cs
- CompatibleIComparer.cs
- ToolStripSystemRenderer.cs
- TextElementEditingBehaviorAttribute.cs
- StoryFragments.cs
- CLSCompliantAttribute.cs
- RIPEMD160Managed.cs
- SHA384Managed.cs
- Splitter.cs
- FlowNode.cs
- MsmqIntegrationInputMessage.cs
- DictionaryEntry.cs
- TextDecorationCollection.cs
- Emitter.cs
- DateTimePickerDesigner.cs
- DocumentPaginator.cs
- xsdvalidator.cs
- CursorInteropHelper.cs
- PageClientProxyGenerator.cs
- StdRegProviderWrapper.cs
- ValueTypeFixupInfo.cs
- BlurEffect.cs
- IPPacketInformation.cs
- Atom10FormatterFactory.cs
- WebPartManagerInternals.cs
- ResourceDescriptionAttribute.cs
- DiscoveryDocumentLinksPattern.cs
- FormClosedEvent.cs
- XmlMembersMapping.cs
- ProcessManager.cs
- DoubleLinkList.cs
- PerspectiveCamera.cs
- XmlEncoding.cs
- DiscoveryEndpoint.cs
- WorkflowInstanceProvider.cs
- UserControl.cs
- UnsafeNativeMethods.cs
- SchemaEntity.cs
- ISFTagAndGuidCache.cs
- SqlError.cs
- AxWrapperGen.cs
- EventMap.cs
- ReturnEventArgs.cs
- FigureParagraph.cs
- ValueChangedEventManager.cs
- ActivitySurrogate.cs
- MultiPropertyDescriptorGridEntry.cs
- FileLoadException.cs
- precedingquery.cs
- EpmHelper.cs
- SystemTcpStatistics.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- BitmapCacheBrush.cs
- NotifyParentPropertyAttribute.cs
- TreeNodeBindingCollection.cs
- CodeTypeReferenceExpression.cs
- SqlDataSourceStatusEventArgs.cs
- SettingsSection.cs
- Triplet.cs
- Slider.cs
- SoapFormatExtensions.cs
- RelationshipEndMember.cs
- VisualBasic.cs
- EditorBrowsableAttribute.cs
- Padding.cs
- AVElementHelper.cs
- SQLMembershipProvider.cs
- SessionSwitchEventArgs.cs
- FileVersion.cs
- HttpFileCollection.cs
- XamlTypeMapper.cs
- HttpStreamFormatter.cs
- KnownTypes.cs
- ContextMenu.cs
- XmlSerializationWriter.cs
- BaseDataBoundControlDesigner.cs
- CodeIdentifier.cs
- GroupBoxRenderer.cs
- PopupEventArgs.cs
- CodeBinaryOperatorExpression.cs
- DetailsViewDeleteEventArgs.cs
- FacetDescription.cs
- XhtmlTextWriter.cs
- BitConverter.cs
- ToolStripTextBox.cs
- SID.cs
- DrawItemEvent.cs
- AutoGeneratedField.cs
- MarkupObject.cs
- DbCommandDefinition.cs
- DateTimeOffset.cs
- HttpCapabilitiesEvaluator.cs