pleroma: more implicit usings
This commit is contained in:
parent
39bf03ae95
commit
b133228ed6
12 changed files with 14 additions and 35 deletions
|
@ -1,7 +1,4 @@
|
|||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma.API;
|
||||
namespace Uwaa.Pleroma.API;
|
||||
|
||||
[JsonConverter(typeof(PublishStatusConverter))]
|
||||
public class PublishStatus
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
/// <summary>
|
||||
/// Converts to and from enum values in lowercase.
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class Account
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class Context
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class Hashtag
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class PleromaException : Exception
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class PleromaObject
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class SearchResults
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
public class Status
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
using Uwaa.HTTP;
|
||||
using Uwaa.HTTP;
|
||||
using Uwaa.Pleroma.API;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
|
|
|
@ -16,5 +16,8 @@
|
|||
<Using Include="System.Collections.Generic" />
|
||||
<Using Include="System.IO" />
|
||||
<Using Include="System.Linq" />
|
||||
<Using Include="System.Threading.Tasks" />
|
||||
<Using Include="System.Text.Json" />
|
||||
<Using Include="System.Text.Json.Serialization" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Uwaa.Pleroma;
|
||||
namespace Uwaa.Pleroma;
|
||||
|
||||
[JsonConverter(typeof(EnumLowerCaseConverter<StatusVisibility>))]
|
||||
public enum StatusVisibility
|
||||
|
|
Loading…
Reference in a new issue