Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Run dotnet format #210

Merged
merged 1 commit into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Hippo.Tests/ApiControllers/ApplicationControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Net.Http.Headers;
Expand Down
2 changes: 1 addition & 1 deletion Hippo.Tests/ApiControllers/BaseApiTestFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Net.Http;
Expand Down
2 changes: 1 addition & 1 deletion Hippo.Tests/ApiControllers/ChannelControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Net.Http;
Expand Down
2 changes: 1 addition & 1 deletion Hippo.Tests/ApiControllers/MockTokenIssuer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public string GetToken()
return GetToken(_claims);
}
}
}
}
6 changes: 3 additions & 3 deletions Hippo.Tests/Controllers/AppControllerTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
using System;
using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using Hippo.Controllers;
using Hippo.Models;
using Hippo.Repositories;
Expand All @@ -15,9 +18,6 @@
using Microsoft.EntityFrameworkCore;
using Moq;
using Xunit;
using System.Linq;
using System.Threading.Tasks;
using System;

namespace Hippo.Tests.Controllers
{
Expand Down
2 changes: 1 addition & 1 deletion Hippo.Tests/Stubs/FakeCurrentUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public FakeCurrentUser(string name)

public string Name() => _name;
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Controllers/AccountController.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
Expand Down
30 changes: 15 additions & 15 deletions Hippo/Controllers/AppController.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Hippo.Models;
using Hippo.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Hosting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Tomlyn;
using System.Text;
using System.Collections.Generic;
using System.Text.Json;
using Hippo.Schedulers;
using Hippo.Repositories;
using Microsoft.Extensions.Logging;
using Hippo.Tasks;
using System.Threading;
using System.Threading.Tasks;
using Hippo.ControllerCore;
using Hippo.Models;
using Hippo.Repositories;
using Hippo.Schedulers;
using Hippo.Tasks;
using Hippo.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Tomlyn;

namespace Hippo.Controllers
{
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Logging/ITraceable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ public interface ITraceable
{
string FormatTrace();
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Messages/ApplicationMessage.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;

namespace Hippo.Messages
{
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Postgres/20210706011250_Initial.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;

Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Postgres/20210712232619_EventHistory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Postgres
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Postgres/20210722051212_Timestamp.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Postgres
{
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Postgres/20210726214502_Collaborations.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Postgres
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Sqlite/20210706011225_Initial.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Sqlite
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Sqlite/20210712232550_EventHistory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Sqlite
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Sqlite/20210722051132_Timestamp.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Sqlite
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Migrations/Sqlite/20210726214403_Collaborations.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Hippo.Migrations.Sqlite
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Models/Account.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity;

namespace Hippo.Models
{
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Models/Application.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
Expand Down
2 changes: 1 addition & 1 deletion Hippo/Models/DataContext.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Expand Down
4 changes: 2 additions & 2 deletions Hippo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Hippo.Proxies;
using Hippo.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Hippo.Proxies;
using Hippo.Tasks;

[assembly: System.CLSCompliant(false)]

Expand Down
2 changes: 1 addition & 1 deletion Hippo/Repositories/ActionContextCurrentUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ public ActionContextCurrentUser(IActionContextAccessor actionContext)

public string Name() => _actionContext.ActionContext.HttpContext.User.Identity.Name;
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Repositories/DbRevisionRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ public Revision GetRevisionByNumber(Application owner, string revisionNumber) =>
.Where(r => r.Application == owner && r.RevisionNumber == revisionNumber)
.SingleOrDefault();
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Repositories/IAccountRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ public interface IAccountRepository
{
bool IsEmpty();
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Repositories/IApplicationRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ public interface IApplicationRepository
void Update(Application application);
void DeleteApplicationById(Guid id);
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Repositories/ICurrentUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ public interface ICurrentUser
{
string Name();
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Repositories/IRevisionRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ public interface IRevisionRepository
{
Revision GetRevisionByNumber(Application owner, string revisionNumber);
}
}
}
2 changes: 1 addition & 1 deletion Hippo/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Hippo.Proxies;
using Hippo.Models;
using Hippo.Proxies;
using Hippo.Repositories;
using Hippo.Schedulers;
using Hippo.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion Hippo/ViewModels/AccountRegisterForm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using Hippo.Logging;

namespace Hippo.ViewModels
Expand Down
2 changes: 1 addition & 1 deletion Hippo/ViewModels/AppEditForm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Hippo.Logging;
Expand Down
2 changes: 1 addition & 1 deletion Hippo/ViewModels/LoginForm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using Hippo.Logging;

namespace Hippo.ViewModels
Expand Down