saved the progress

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
pull/74/head
Oleg Nenashev 2015-02-02 23:55:58 +03:00
parent 8a5a1dd10d
commit 1f6542e171
5 changed files with 32 additions and 2 deletions

View File

@ -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
{
}
}

View File

@ -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>

View File

@ -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>

View File

@ -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" />

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.3" targetFramework="net20" />
</packages>