Skip to content

Commit

Permalink
#1 TextAnalyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinacupac committed Jun 18, 2020
1 parent 4460c0f commit d115203
Show file tree
Hide file tree
Showing 227 changed files with 111 additions and 8,161 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient
namespace TextAnalyzer.Web.ConsoleClient
{
public class AppOptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TextAnalyzer.Core.Application.Commands.Documents;
using TextAnalyzer.Web.ConsoleClient.Interface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using TextAnalyzer.Web.ConsoleClient.Interface;
using TextAnalyzer.Web.ConsoleClient.Readers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using TextAnalyzer.Web.ConsoleClient.Interface;
using TextAnalyzer.Web.ConsoleClient.Readers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using TextAnalyzer.Web.ConsoleClient.Interface;
using TextAnalyzer.Web.ConsoleClient.Readers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient
namespace TextAnalyzer.Web.ConsoleClient
{
public class Document
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks;

namespace TextAnalyzer.Web.ConsoleClient.Interface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient
namespace TextAnalyzer.Web.ConsoleClient
{
public interface IReader
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient.Interface
namespace TextAnalyzer.Web.ConsoleClient.Interface
{
public interface IReaderFactory
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Optivem.Atomiv.Core.Common.Serialization;
using Optivem.Atomiv.Infrastructure.NewtonsoftJson;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using TextAnalyzer.Core.Application.Commands.Documents;
using TextAnalyzer.Core.Application.Queries.Customers;
using TextAnalyzer.Web.ConsoleClient.Interface;
using TextAnalyzer.Web.RestClient;
using TextAnalyzer.Web.RestClient.Interface;

namespace TextAnalyzer.Web.ConsoleClient
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Dapper;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient.Readers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.IO;

namespace TextAnalyzer.Web.ConsoleClient.Readers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TextAnalyzer.Web.ConsoleClient.Readers
namespace TextAnalyzer.Web.ConsoleClient.Readers
{
public class InputReader : IReader
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Optivem.Atomiv.Core.Common.Serialization;
using Optivem.Atomiv.Infrastructure.NewtonsoftJson;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Reflection;
using System.Text;
using TextAnalyzer.Web.ConsoleClient.Interface;
using TextAnalyzer.Web.RestClient;
using TextAnalyzer.Web.RestClient.Interface;
Expand Down Expand Up @@ -51,9 +48,6 @@ public static ServiceProvider Create(string environment = null)

services.AddTransient<IHttpClientFactory, HttpClientFactory>();
services.AddHttpClient<IDocumentControllerClient, DocumentControllerClient>();
services.AddHttpClient<ICustomerControllerClient, CustomerControllerClient>();
services.AddHttpClient<IOrderControllerClient, OrderControllerClient>();
services.AddHttpClient<IProductControllerClient, ProductControllerClient>();
services.AddTransient<IApiClient, ApiClient>();

services.AddTransient<IExecutor, ConsoleExecutor>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"App": {
"RestApi": "https://localhost:44349",
"ReaderFactory": "ConsoleFileReaderFactory"
"ReaderFactory": "ConsoleInputReaderFactory"
},

"Logging": {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d115203

Please sign in to comment.