mirror of https://github.com/winsw/winsw
parent
8a5a1dd10d
commit
1f6542e171
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace winsw.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// This attribute is used to identify extension points within the code
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Each extension point implements its own entry type.
|
||||
/// </remarks>
|
||||
class ExtensionPointAttribute
|
||||
{
|
||||
}
|
||||
}
|
|
@ -7,7 +7,10 @@ namespace winsw.Extensions
|
|||
/// <summary>
|
||||
/// Interface for Win Service Wrapper Extension
|
||||
/// </summary>
|
||||
/// <remarks>All implementations should provide the default empty constructor. The initialization will be performed by Init methods</remarks>
|
||||
/// <remarks>
|
||||
/// All implementations should provide the default empty constructor.
|
||||
/// The initialization will be performed by Init methods
|
||||
/// </remarks>
|
||||
public interface IWinSWExtension
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -28,7 +31,7 @@ namespace winsw.Extensions
|
|||
void Configure(ServiceDescriptor descriptor, XmlNode node, IEventWriter logger);
|
||||
|
||||
/// <summary>
|
||||
/// Start handler. Called during start of the service
|
||||
/// Start handler. Called during startup of the service before the child process.
|
||||
/// </summary>
|
||||
/// <param name="logger">Logger</param>
|
||||
/// <exception cref="ExtensionException">Any error during execution</exception>
|
||||
|
|
|
@ -4,6 +4,12 @@ using winsw.Util;
|
|||
|
||||
namespace winsw.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes WinSW extensions in <see cref="IWinSWExtension"/>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Any extension has its own descriptor instance.
|
||||
/// </remarks>
|
||||
public class WinSWExtensionDescriptor
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
<Compile Include="DynamicProxy.cs" />
|
||||
<Compile Include="Extensions\AbstractWinSWExtension.cs" />
|
||||
<Compile Include="Extensions\ExtensionException.cs" />
|
||||
<Compile Include="Extensions\ExtensionPointAttribute.cs" />
|
||||
<Compile Include="Extensions\IWinSWExtension.cs" />
|
||||
<Compile Include="Extensions\WinSWExtensionDescriptor.cs" />
|
||||
<Compile Include="Extensions\WinSWExtensionManager.cs" />
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="log4net" version="2.0.3" targetFramework="net20" />
|
||||
</packages>
|
Loading…
Reference in New Issue