public void CreateUnitCode() { var path = Path.GetDirectoryName( Path.GetDirectoryName( Path.GetDirectoryName( System.Environment.CurrentDirectory))); ApiDiscover discover = new ApiDiscover(); discover.Discover(this.GetType().Assembly); discover.NUnitCode(IOHelper.CheckPath(path, "AutoCode")); }
public void CreateMarkdown() { ApiDiscover discover = new ApiDiscover(); discover.Discover(typeof(NetEventControler).Assembly); var path = IOHelper.CheckPath(Environment.CurrentDirectory, "MarkDown"); var extend = new ApiMarkDown { ServiceInfos = discover.ServiceInfos }; extend.MarkDown(path); }
public void CreateApiSqlCode() { var path = Path.GetDirectoryName( Path.GetDirectoryName( Path.GetDirectoryName( System.Environment.CurrentDirectory))); ApiDiscover discover = new ApiDiscover(); discover.Discover(typeof(NetEventControler).Assembly); var extend = new ApiSqlCode { ServiceInfos = discover.ServiceInfos }; extend.ApiSql(IOHelper.CheckPath(path, "Sql")); }
public void CreateUnitCode() { var path = Path.GetDirectoryName( Path.GetDirectoryName( Path.GetDirectoryName( System.Environment.CurrentDirectory))); ApiDiscover discover = new ApiDiscover(); discover.Discover(GetType().Assembly); var extend = new ApiUnitTestCode { ServiceInfos = discover.ServiceInfos }; extend.NUnitCode(IOHelper.CheckPath(path, "AutoCode")); }