diff options
Diffstat (limited to 'Timeline/Models')
-rw-r--r-- | Timeline/Models/Converters/JsonDateTimeConverter.cs | 2 | ||||
-rw-r--r-- | Timeline/Models/Http/Common.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Http/ErrorResponse.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Http/Timeline.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Http/TimelineController.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Http/TokenController.cs | 2 | ||||
-rw-r--r-- | Timeline/Models/Http/UserController.cs | 6 | ||||
-rw-r--r-- | Timeline/Models/Http/UserInfo.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Timeline.cs | 2 | ||||
-rw-r--r-- | Timeline/Models/User.cs | 2 | ||||
-rw-r--r-- | Timeline/Models/Validation/NameValidator.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Validation/NicknameValidator.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Validation/TimelineNameValidator.cs | 2 | ||||
-rw-r--r-- | Timeline/Models/Validation/UsernameValidator.cs | 2 | ||||
-rw-r--r-- | Timeline/Models/Validation/Validator.cs | 6 |
15 files changed, 26 insertions, 26 deletions
diff --git a/Timeline/Models/Converters/JsonDateTimeConverter.cs b/Timeline/Models/Converters/JsonDateTimeConverter.cs index 057186de..ef129a01 100644 --- a/Timeline/Models/Converters/JsonDateTimeConverter.cs +++ b/Timeline/Models/Converters/JsonDateTimeConverter.cs @@ -4,7 +4,7 @@ using System.Globalization; using System.Text.Json; using System.Text.Json.Serialization; -namespace TimelineApp.Models.Converters +namespace Timeline.Models.Converters { public class JsonDateTimeConverter : JsonConverter<DateTime> { diff --git a/Timeline/Models/Http/Common.cs b/Timeline/Models/Http/Common.cs index f30fdb0d..a9fc8a79 100644 --- a/Timeline/Models/Http/Common.cs +++ b/Timeline/Models/Http/Common.cs @@ -1,6 +1,6 @@ -using static TimelineApp.Resources.Models.Http.Common;
+using static Timeline.Resources.Models.Http.Common;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public class CommonResponse
{
diff --git a/Timeline/Models/Http/ErrorResponse.cs b/Timeline/Models/Http/ErrorResponse.cs index d6cb5ca0..9f7e70e1 100644 --- a/Timeline/Models/Http/ErrorResponse.cs +++ b/Timeline/Models/Http/ErrorResponse.cs @@ -1,7 +1,7 @@
-using static TimelineApp.Resources.Messages;
+using static Timeline.Resources.Messages;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public static class ErrorResponse
diff --git a/Timeline/Models/Http/Timeline.cs b/Timeline/Models/Http/Timeline.cs index 637a775d..55c3a3bf 100644 --- a/Timeline/Models/Http/Timeline.cs +++ b/Timeline/Models/Http/Timeline.cs @@ -4,9 +4,9 @@ using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.Mvc.Routing;
using System;
using System.Collections.Generic;
-using TimelineApp.Controllers;
+using Timeline.Controllers;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public class TimelinePostContentInfo
{
diff --git a/Timeline/Models/Http/TimelineController.cs b/Timeline/Models/Http/TimelineController.cs index b389c549..ce5f3b98 100644 --- a/Timeline/Models/Http/TimelineController.cs +++ b/Timeline/Models/Http/TimelineController.cs @@ -1,8 +1,8 @@ using System;
using System.ComponentModel.DataAnnotations;
-using TimelineApp.Models.Validation;
+using Timeline.Models.Validation;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public class TimelinePostCreateRequestContent
{
diff --git a/Timeline/Models/Http/TokenController.cs b/Timeline/Models/Http/TokenController.cs index 3376fb61..ea8b59ed 100644 --- a/Timeline/Models/Http/TokenController.cs +++ b/Timeline/Models/Http/TokenController.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public class CreateTokenRequest
{
diff --git a/Timeline/Models/Http/UserController.cs b/Timeline/Models/Http/UserController.cs index c024c757..e4c95cbd 100644 --- a/Timeline/Models/Http/UserController.cs +++ b/Timeline/Models/Http/UserController.cs @@ -1,9 +1,9 @@ using AutoMapper;
using System.ComponentModel.DataAnnotations;
-using TimelineApp.Models.Validation;
-using TimelineApp.Services;
+using Timeline.Models.Validation;
+using Timeline.Services;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public class UserPatchRequest
{
diff --git a/Timeline/Models/Http/UserInfo.cs b/Timeline/Models/Http/UserInfo.cs index fcbbe7c9..4f887549 100644 --- a/Timeline/Models/Http/UserInfo.cs +++ b/Timeline/Models/Http/UserInfo.cs @@ -3,9 +3,9 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Mvc.Routing;
using System;
-using TimelineApp.Controllers;
+using Timeline.Controllers;
-namespace TimelineApp.Models.Http
+namespace Timeline.Models.Http
{
public class UserInfo
{
diff --git a/Timeline/Models/Timeline.cs b/Timeline/Models/Timeline.cs index 52f38e42..e2ff525e 100644 --- a/Timeline/Models/Timeline.cs +++ b/Timeline/Models/Timeline.cs @@ -1,7 +1,7 @@ using System;
using System.Collections.Generic;
-namespace TimelineApp.Models
+namespace Timeline.Models
{
public enum TimelineVisibility
{
diff --git a/Timeline/Models/User.cs b/Timeline/Models/User.cs index 3b88a1b3..37777eba 100644 --- a/Timeline/Models/User.cs +++ b/Timeline/Models/User.cs @@ -1,4 +1,4 @@ -namespace TimelineApp.Models
+namespace Timeline.Models
{
public class User
{
diff --git a/Timeline/Models/Validation/NameValidator.cs b/Timeline/Models/Validation/NameValidator.cs index cf276309..dec2b872 100644 --- a/Timeline/Models/Validation/NameValidator.cs +++ b/Timeline/Models/Validation/NameValidator.cs @@ -1,7 +1,7 @@ using System.Linq;
-using static TimelineApp.Resources.Models.Validation.NameValidator;
+using static Timeline.Resources.Models.Validation.NameValidator;
-namespace TimelineApp.Models.Validation
+namespace Timeline.Models.Validation
{
public class NameValidator : Validator<string>
{
diff --git a/Timeline/Models/Validation/NicknameValidator.cs b/Timeline/Models/Validation/NicknameValidator.cs index cef80b9f..1d6ab163 100644 --- a/Timeline/Models/Validation/NicknameValidator.cs +++ b/Timeline/Models/Validation/NicknameValidator.cs @@ -1,7 +1,7 @@ using System;
-using static TimelineApp.Resources.Models.Validation.NicknameValidator;
+using static Timeline.Resources.Models.Validation.NicknameValidator;
-namespace TimelineApp.Models.Validation
+namespace Timeline.Models.Validation
{
public class NicknameValidator : Validator<string>
{
diff --git a/Timeline/Models/Validation/TimelineNameValidator.cs b/Timeline/Models/Validation/TimelineNameValidator.cs index 68110466..f1ab54e8 100644 --- a/Timeline/Models/Validation/TimelineNameValidator.cs +++ b/Timeline/Models/Validation/TimelineNameValidator.cs @@ -1,6 +1,6 @@ using System;
-namespace TimelineApp.Models.Validation
+namespace Timeline.Models.Validation
{
public class TimelineNameValidator : NameValidator
{
diff --git a/Timeline/Models/Validation/UsernameValidator.cs b/Timeline/Models/Validation/UsernameValidator.cs index bc0a9fe4..87bbf85f 100644 --- a/Timeline/Models/Validation/UsernameValidator.cs +++ b/Timeline/Models/Validation/UsernameValidator.cs @@ -1,6 +1,6 @@ using System;
-namespace TimelineApp.Models.Validation
+namespace Timeline.Models.Validation
{
public class UsernameValidator : NameValidator
{
diff --git a/Timeline/Models/Validation/Validator.cs b/Timeline/Models/Validation/Validator.cs index 2c61705e..ead7dbef 100644 --- a/Timeline/Models/Validation/Validator.cs +++ b/Timeline/Models/Validation/Validator.cs @@ -2,10 +2,10 @@ using Microsoft.Extensions.Localization;
using System;
using System.ComponentModel.DataAnnotations;
-using TimelineApp.Helpers;
-using static TimelineApp.Resources.Models.Validation.Validator;
+using Timeline.Helpers;
+using static Timeline.Resources.Models.Validation.Validator;
-namespace TimelineApp.Models.Validation
+namespace Timeline.Models.Validation
{
/// <summary>
/// A validator to validate value.
|