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
- Module.cs
- EntityDataSourceViewSchema.cs
- DeferredElementTreeState.cs
- ReachSerializationUtils.cs
- CompiledIdentityConstraint.cs
- DataControlReference.cs
- GridLength.cs
- PriorityQueue.cs
- WebConvert.cs
- MessageBuffer.cs
- ConfigurationManager.cs
- TypographyProperties.cs
- DBConnection.cs
- XmlUrlEditor.cs
- SortedList.cs
- DataObjectAttribute.cs
- CodeChecksumPragma.cs
- XhtmlConformanceSection.cs
- ObjectDataSourceStatusEventArgs.cs
- SequenceRangeCollection.cs
- TableCellCollection.cs
- CheckBox.cs
- WebPermission.cs
- SerializationInfoEnumerator.cs
- XpsPackagingException.cs
- ComponentResourceKey.cs
- ControllableStoryboardAction.cs
- DocumentXmlWriter.cs
- CommonXSendMessage.cs
- StreamInfo.cs
- Overlapped.cs
- SkewTransform.cs
- EmbeddedMailObjectsCollection.cs
- ArraySubsetEnumerator.cs
- ConnectionManagementElement.cs
- TemplateField.cs
- mediaeventargs.cs
- RubberbandSelector.cs
- RoutedCommand.cs
- TypeKeyValue.cs
- MethodImplAttribute.cs
- DnsEndPoint.cs
- ExcCanonicalXml.cs
- InvalidProgramException.cs
- ComponentCollection.cs
- PriorityChain.cs
- MimeTypeMapper.cs
- WpfSharedXamlSchemaContext.cs
- QuaternionIndependentAnimationStorage.cs
- WorkflowInstanceExtensionManager.cs
- EncodingInfo.cs
- CodeTypeMemberCollection.cs
- WorkflowMarkupElementEventArgs.cs
- HuffCodec.cs
- DodSequenceMerge.cs
- MdImport.cs
- FlowSwitchLink.cs
- DetailsViewPageEventArgs.cs
- SyndicationContent.cs
- BaseDataListPage.cs
- ObjRef.cs
- WebServicesDescriptionAttribute.cs
- SqlSelectStatement.cs
- PropertyDescriptorCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- OdbcTransaction.cs
- ConfigsHelper.cs
- AddressHeaderCollection.cs
- ObjectRef.cs
- SignatureHelper.cs
- WorkflowStateRollbackService.cs
- ArrayConverter.cs
- ConstructorBuilder.cs
- TdsParserSafeHandles.cs
- ConstraintEnumerator.cs
- SHA384Cng.cs
- ProcessModuleCollection.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- XmlSchemaAppInfo.cs
- UrlPropertyAttribute.cs
- DynamicMetaObjectBinder.cs
- WebErrorHandler.cs
- EmbeddedMailObject.cs
- GeometryCollection.cs
- HttpRequestContext.cs
- InputProviderSite.cs
- DisplayInformation.cs
- VBCodeProvider.cs
- CqlParserHelpers.cs
- RoutingTable.cs
- TableAdapterManagerGenerator.cs
- CodeFieldReferenceExpression.cs
- AnchoredBlock.cs
- AssertFilter.cs
- documentation.cs
- TransactionScope.cs
- RetrieveVirtualItemEventArgs.cs
- ViewStateModeByIdAttribute.cs
- BitVector32.cs
- RenderData.cs