Multiples interfaces

Dec 11, 2009 at 4:50 PM

Has anyone know if it is possible to have a contract that derives from multiple interfaces.  In my case I'm trying to create something that derives from ICommand but when I use the Pipeline Generator it seems to ignore it eg..

 

public interface IAddInCommandContract : IContract, ICommand
    {
        // Some extra properties
 
        /// <summary>
        /// Gets the name.
        /// </summary>
        /// <value>The name.</value>
        string Name { get; }

        /// <summary>
        /// Gets the description.
        /// </summary>
        /// <value>The description.</value>
        string Description { get; }
}

And when I use the builder the output is just:

 

[System.AddIn.Pipeline.AddInBaseAttribute()]
    public interface IAddInCommand
    {
        string Name
        {
            get;
        }
        string Description
        {
            get;
        }
    }

 

 

 

Developer
Feb 22, 2010 at 1:20 PM

This is perfectly possible, but the ICommand interface should also implement the IContract interface.