mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-10 02:35:42 +00:00
Suppress CA1812 for value converters
This commit is contained in:
parent
bb39b2eb62
commit
0549184c60
@ -3,6 +3,8 @@ using System.Globalization;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class HexToColorConverter : ValueConverter<Color>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class IntToBoolConverter : ValueConverter<bool>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -1,4 +1,6 @@
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class IntToEnumConverter<T> : ValueConverter<T>
|
||||
where T : struct, Enum
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class MillisecondToTimeSpanConverter : ValueConverter<TimeSpan>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Internal.Attributes;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class StringToEnumConverter<T> : ValueConverter<T>
|
||||
where T : struct, Enum
|
||||
{
|
||||
|
@ -1,4 +1,6 @@
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class UriConverter : ValueConverter<Uri>
|
||||
{
|
||||
|
@ -4,6 +4,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class Vector2Converter : ValueConverter<Vector2>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -4,6 +4,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class Vector3Converter : ValueConverter<Vector3>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class Vector3ToColorConverter : ValueConverter<ColorF>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class Vector3dConverter : ValueConverter<Vector3d>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class Vector4ToColorConverter : ValueConverter<ColorF>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -4,6 +4,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class Vector4ToVector3Converter : ValueConverter<Vector3>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
@ -3,6 +3,8 @@ using VpSharp.Extensions;
|
||||
|
||||
namespace VpSharp.Internal.ValueConverters;
|
||||
|
||||
#pragma warning disable CA1812
|
||||
|
||||
internal sealed class VectorToNthComponentConverter : ValueConverter<float>
|
||||
{
|
||||
private readonly int _componentNumber;
|
||||
|
Loading…
Reference in New Issue
Block a user