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;
|
namespace Uwaa.Pleroma.API;
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Uwaa.Pleroma.API;
|
|
||||||
|
|
||||||
[JsonConverter(typeof(PublishStatusConverter))]
|
[JsonConverter(typeof(PublishStatusConverter))]
|
||||||
public class PublishStatus
|
public class PublishStatus
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using System.Text.Json;
|
namespace Uwaa.Pleroma;
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts to and from enum values in lowercase.
|
/// 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
|
public class Account
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
public class Context
|
public class Context
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
public class Hashtag
|
public class Hashtag
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
public class PleromaException : Exception
|
public class PleromaException : Exception
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
public class PleromaObject
|
public class PleromaObject
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
public class SearchResults
|
public class SearchResults
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
public class Status
|
public class Status
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json;
|
using Uwaa.HTTP;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Uwaa.HTTP;
|
|
||||||
using Uwaa.Pleroma.API;
|
using Uwaa.Pleroma.API;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
|
@ -16,5 +16,8 @@
|
||||||
<Using Include="System.Collections.Generic" />
|
<Using Include="System.Collections.Generic" />
|
||||||
<Using Include="System.IO" />
|
<Using Include="System.IO" />
|
||||||
<Using Include="System.Linq" />
|
<Using Include="System.Linq" />
|
||||||
|
<Using Include="System.Threading.Tasks" />
|
||||||
|
<Using Include="System.Text.Json" />
|
||||||
|
<Using Include="System.Text.Json.Serialization" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System.Text.Json.Serialization;
|
namespace Uwaa.Pleroma;
|
||||||
|
|
||||||
namespace Uwaa.Pleroma;
|
|
||||||
|
|
||||||
[JsonConverter(typeof(EnumLowerCaseConverter<StatusVisibility>))]
|
[JsonConverter(typeof(EnumLowerCaseConverter<StatusVisibility>))]
|
||||||
public enum StatusVisibility
|
public enum StatusVisibility
|
||||||
|
|
Loading…
Reference in a new issue