Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Tools / xws_reg / System / ServiceModel / Install / ServiceModelInstallComponent.cs / 1 / ServiceModelInstallComponent.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Install { using System; internal abstract class ServiceModelInstallComponent { internal abstract string DisplayName { get; } protected abstract string InstallActionMessage { get; } internal abstract string[] InstalledVersions { get; } internal abstract bool IsInstalled { get; } protected abstract string ReinstallActionMessage { get; } protected abstract string UninstallActionMessage { get; } internal string GetActionString(InstallAction action) { string retVal = string.Empty; switch (action) { case (InstallAction.Install): retVal = this.InstallActionMessage; break; case (InstallAction.Uninstall): retVal = this.UninstallActionMessage; break; case (InstallAction.Reinstall): retVal = this.ReinstallActionMessage; break; } return retVal; } internal abstract void Install(OutputLevel outputLevel); internal abstract void Uninstall(OutputLevel outputLevel); internal abstract InstallationState VerifyInstall(); internal virtual void Reinstall(OutputLevel outputLevel) { if (OutputLevel.Quiet != outputLevel) { EventLogger.LogToConsole(SR.GetString(SR.UninstallMessage, this.DisplayName)); } EventLogger.WriteMsiStyleLogEntry(SR.GetString(SR.UninstallMessage, this.DisplayName)); this.Uninstall(outputLevel); if (OutputLevel.Quiet != outputLevel) { EventLogger.LogToConsole(SR.GetString(SR.InstallMessage, this.DisplayName)); } EventLogger.WriteMsiStyleLogEntry(SR.GetString(SR.InstallMessage, this.DisplayName)); this.Install(outputLevel); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EnvelopeVersion.cs
- BindingSource.cs
- EndpointDiscoveryElement.cs
- SByteConverter.cs
- TypeDescriptor.cs
- SapiAttributeParser.cs
- RadioButtonStandardAdapter.cs
- ChangeTracker.cs
- MailFileEditor.cs
- CacheDependency.cs
- AddInActivator.cs
- BitmapEditor.cs
- ToolBarPanel.cs
- BitmapEffectGroup.cs
- recordstate.cs
- RelationshipWrapper.cs
- StatusBarItemAutomationPeer.cs
- State.cs
- XmlTextReader.cs
- HttpWrapper.cs
- SqlRemoveConstantOrderBy.cs
- CompatibleComparer.cs
- TextTreeInsertElementUndoUnit.cs
- ChannelDispatcherBase.cs
- MenuCommands.cs
- GeneralTransform3DGroup.cs
- MultiPageTextView.cs
- CodeTypeDeclarationCollection.cs
- Pts.cs
- Point3DAnimationBase.cs
- SizeAnimationBase.cs
- DataGridViewTopRowAccessibleObject.cs
- WebPartDeleteVerb.cs
- RtfToXamlLexer.cs
- ElementHostPropertyMap.cs
- HttpCookie.cs
- CommonDialog.cs
- RoutedUICommand.cs
- validation.cs
- GetPageCompletedEventArgs.cs
- TemplateParser.cs
- AuthenticatedStream.cs
- GetMemberBinder.cs
- exports.cs
- XmlLanguageConverter.cs
- SoundPlayer.cs
- ListBox.cs
- VideoDrawing.cs
- SerializationObjectManager.cs
- DataSourceExpression.cs
- XPathQilFactory.cs
- Cursor.cs
- InternalCache.cs
- CommandBinding.cs
- HMACSHA384.cs
- DisplayInformation.cs
- ScopedKnownTypes.cs
- SelectedCellsChangedEventArgs.cs
- ConsoleCancelEventArgs.cs
- PathData.cs
- IntersectQueryOperator.cs
- URLString.cs
- OperationCanceledException.cs
- MutexSecurity.cs
- MaterialCollection.cs
- NullEntityWrapper.cs
- OracleInfoMessageEventArgs.cs
- _TLSstream.cs
- RichTextBox.cs
- EntityDataSourceEntityTypeFilterItem.cs
- CodeDOMProvider.cs
- DataObjectMethodAttribute.cs
- PageContentCollection.cs
- IdentifierCreationService.cs
- ResourceReferenceExpressionConverter.cs
- StyleBamlTreeBuilder.cs
- ErrorEventArgs.cs
- SiteMapDataSource.cs
- LocatorPartList.cs
- SelectionRangeConverter.cs
- TreeNodeBinding.cs
- IndentedTextWriter.cs
- WebPartDisplayMode.cs
- AutomationProperties.cs
- PropertyValueEditor.cs
- RelatedImageListAttribute.cs
- CorrelationActionMessageFilter.cs
- EventProxy.cs
- DocumentXPathNavigator.cs
- ConnectionPoolManager.cs
- SizeF.cs
- DataBinding.cs
- PropertyToken.cs
- StoragePropertyMapping.cs
- ResourceBinder.cs
- autovalidator.cs
- SimpleHandlerFactory.cs
- TemplateBindingExtension.cs
- LinqDataSource.cs
- RecommendedAsConfigurableAttribute.cs