using System.Collections.Generic;
namespace Hast.Layer
{
public class ProxyGenerationConfiguration : IProxyGenerationConfiguration
{
///
/// Gets or sets a dictionary that can contain settings for non-default configuration options (like the name of
/// the communication channel).
///
public IDictionary CustomConfiguration { get; set; } = new Dictionary();
///
/// Gets or sets the communication channel used for communicating with the hardware device (eg. Ethernet).
///
public string CommunicationChannelName { get; set; }
///
/// Gets or sets whether the results coming from the hardware implementation should be checked against a
/// software execution. If set to true then both a hardware and software invocation will happen and the
/// result of the two compared. If there is a mismatch then an exception will be thrown.
///
public bool VerifyHardwareResults { get; set; }
private static IProxyGenerationConfiguration _default;
public static IProxyGenerationConfiguration Default
{
get
{
if (_default == null)
{
_default = new ProxyGenerationConfiguration();
}
return _default;
}
}
}
}