using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Foo.AddIn.Common
{
    /// <summary>
    /// Common Return Value for Addins
    /// </summary>
    public class FuncRetVal
    {
        public FuncRetValEnum Type { get; set; }
        public string Message { get; set; }
    }

    /// <summary>
    /// Useful for Returns where we 
    /// need more information on failures 
    /// </summary>
    public enum FuncRetValEnum
    {        
        Action_Succeeded,
        Action_Failed,
        NoAction_Needed,
        ParameterInvalid,
        ArtifactUnavailable,
        FunctionallityNotSupported,
        ErrorThrown
    }
}
