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
- XmlDataCollection.cs
- CorrelationManager.cs
- FixedTextSelectionProcessor.cs
- SqlUserDefinedTypeAttribute.cs
- COM2ExtendedUITypeEditor.cs
- Rectangle.cs
- X509Certificate.cs
- DataGridViewElement.cs
- TextEditorCopyPaste.cs
- DocumentAutomationPeer.cs
- SettingsPropertyValue.cs
- Constraint.cs
- ScriptReference.cs
- XmlText.cs
- TrustManagerMoreInformation.cs
- PackageFilter.cs
- Fault.cs
- FormViewInsertedEventArgs.cs
- CharEnumerator.cs
- GenericNameHandler.cs
- WmlListAdapter.cs
- EntryWrittenEventArgs.cs
- EndEvent.cs
- PartialCachingControl.cs
- MILUtilities.cs
- DateTimeOffset.cs
- TextElementEditingBehaviorAttribute.cs
- InstanceKeyCollisionException.cs
- PopOutPanel.cs
- MemberListBinding.cs
- RepeatButtonAutomationPeer.cs
- ParagraphResult.cs
- DataGridCaption.cs
- ConsumerConnectionPointCollection.cs
- OracleBoolean.cs
- CompensateDesigner.cs
- PolyLineSegment.cs
- EntityDescriptor.cs
- TextTreeObjectNode.cs
- SqlRemoveConstantOrderBy.cs
- GridViewRowPresenterBase.cs
- WindowsStreamSecurityUpgradeProvider.cs
- SecureStringHasher.cs
- CleanUpVirtualizedItemEventArgs.cs
- HttpStreamXmlDictionaryWriter.cs
- BrushValueSerializer.cs
- FunctionUpdateCommand.cs
- NTAccount.cs
- GlyphElement.cs
- RuntimeUtils.cs
- IdentityHolder.cs
- MatrixAnimationBase.cs
- XPathBuilder.cs
- AmbientProperties.cs
- IdentifierCreationService.cs
- HebrewNumber.cs
- x509store.cs
- MouseGestureValueSerializer.cs
- ValidationError.cs
- PropertyValueEditor.cs
- Icon.cs
- LinearGradientBrush.cs
- ProcessModuleCollection.cs
- MessageQueueConverter.cs
- HelpProvider.cs
- dtdvalidator.cs
- ExternalException.cs
- AttachmentService.cs
- ScriptResourceHandler.cs
- DataMisalignedException.cs
- LedgerEntryCollection.cs
- XmlAttribute.cs
- ButtonField.cs
- BufferModesCollection.cs
- HtmlInputControl.cs
- util.cs
- TraceContextRecord.cs
- ArrayWithOffset.cs
- RewritingSimplifier.cs
- Baml6ConstructorInfo.cs
- ResXDataNode.cs
- QilSortKey.cs
- WindowsIdentity.cs
- ConfigXmlComment.cs
- QueryableFilterUserControl.cs
- FixedSOMFixedBlock.cs
- CfgRule.cs
- MarkedHighlightComponent.cs
- DataServices.cs
- KeySpline.cs
- ComponentResourceManager.cs
- DecimalConverter.cs
- XamlInterfaces.cs
- XhtmlTextWriter.cs
- SQlBooleanStorage.cs
- TextBox.cs
- BufferedReadStream.cs
- HttpConfigurationSystem.cs
- _ListenerRequestStream.cs
- XNodeValidator.cs