Upgraded the Profile code to be contained inside a wrapper and started adding unit tests to cover.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using ASCOM.Meade.net.Wrapper;
|
||||
using ASCOM.Utilities;
|
||||
|
||||
namespace ASCOM.Meade.net
|
||||
{
|
||||
public interface IProfileFactory
|
||||
{
|
||||
IProfileWrapper Create();
|
||||
}
|
||||
|
||||
public class ProfileFactory : IProfileFactory
|
||||
{
|
||||
public IProfileWrapper Create()
|
||||
{
|
||||
return new ProfileWrapper();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user