Init Scripts in new repo
This commit is contained in:
142
Collections/BitBuffer.cs
Normal file
142
Collections/BitBuffer.cs
Normal file
@@ -0,0 +1,142 @@
|
||||
using System;
|
||||
|
||||
namespace SJK.Collections;
|
||||
|
||||
/// <summary>
|
||||
/// Stores an Array of bits that can be retrieved by index. Can be used to return multiple bits as an int or long.
|
||||
/// </summary>
|
||||
public sealed class BitBuffer
|
||||
{
|
||||
// Number of bits in a byte
|
||||
private const int BitsInByte = 8;
|
||||
private const float BitsInByteFloat = 8f;
|
||||
private byte[] data;
|
||||
|
||||
/// <summary>
|
||||
/// Length of the bit buffer in bits.
|
||||
/// </summary>
|
||||
public int Length
|
||||
{
|
||||
get { return length; }
|
||||
set
|
||||
{
|
||||
AppendNewArray(value);
|
||||
length = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Capacity of the bit buffer.
|
||||
/// </summary>
|
||||
public int Capacity { get { return data.Length; } }
|
||||
|
||||
private int length;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the BitBuffer class with the specified length in bits.
|
||||
/// </summary>
|
||||
/// <param name="length">The length of the bit buffer in bits.</param>
|
||||
public BitBuffer(int length)
|
||||
{
|
||||
data = new byte[length / BitsInByte + 5];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the BitBuffer class with the specified byte array.
|
||||
/// </summary>
|
||||
/// <param name="_data">The byte array to initialize the bit buffer.</param>
|
||||
public BitBuffer(byte[] _data)
|
||||
{
|
||||
data = _data;
|
||||
length = data.Length * BitsInByte;
|
||||
}
|
||||
|
||||
private void AppendNewArray(int length)
|
||||
{
|
||||
int capacity = length / BitsInByte + 1;
|
||||
byte[] newData = new byte[capacity];
|
||||
Array.Copy(data, newData, System.Math.Min(data.Length, newData.Length));
|
||||
data = newData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the bit at the specified index.
|
||||
/// </summary>
|
||||
/// <param name="index">The index of the bit.</param>
|
||||
/// <returns>The value of the bit at the specified index.</returns>
|
||||
public bool GetBit(long index)
|
||||
{
|
||||
return GetBits(index, 1) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the bit at the specified index to the specified value.
|
||||
/// </summary>
|
||||
/// <param name="index">The index of the bit.</param>
|
||||
/// <param name="value">The value to set the bit to.</param>
|
||||
public void SetBit(long index, bool value)
|
||||
{
|
||||
SetBits(index, value ? 1 : 0, 1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the specified number of bits starting from the specified index.
|
||||
/// </summary>
|
||||
/// <param name="index">The starting index of the bits.</param>
|
||||
/// <param name="bits">The number of bits to retrieve.</param>
|
||||
/// <returns>The retrieved bits as an integer.</returns>
|
||||
public unsafe int GetBits(long index, int bits)
|
||||
{
|
||||
#if DEBUG
|
||||
if (bits > 32)
|
||||
throw new ArgumentOutOfRangeException($"{nameof(BitBuffer)} does not support accessing more then size of int (32 bits) : {bits}");
|
||||
if (bits <= 0)
|
||||
throw new ArgumentOutOfRangeException($"{nameof(BitBuffer)} cannot have zero or lower be the length of the bits : {bits}");
|
||||
if (index <0)
|
||||
throw new IndexOutOfRangeException($"{nameof(BitBuffer)} cannot index a value lower then zero : {index}");
|
||||
if (index >= length - bits)
|
||||
throw new IndexOutOfRangeException($"{nameof(BitBuffer)} cannot bit greater then the length of the bitBuffer : {index}, {bits}");
|
||||
#endif
|
||||
long byteIndex = index / BitsInByte;
|
||||
int offset = (int)(index - byteIndex * BitsInByte);
|
||||
|
||||
fixed (byte* d = &data[byteIndex])
|
||||
{
|
||||
return (*((int*)d) >> offset) & ((1 << bits) - 1);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the specified number of bits starting from the specified index to the specified value.
|
||||
/// </summary>
|
||||
/// <param name="index">The starting index of the bits.</param>
|
||||
/// <param name="value">The value to set the bits to.</param>
|
||||
/// <param name="bits">The number of bits to set.</param>
|
||||
public unsafe void SetBits(long index, int value, int bits)
|
||||
{
|
||||
int mask = (1 << bits) - 1;
|
||||
int newValue = value;
|
||||
newValue &= mask;
|
||||
long byteIndex = index / BitsInByte;
|
||||
int offset = (int)(index - byteIndex * BitsInByte);
|
||||
|
||||
fixed (byte* d = data)
|
||||
{
|
||||
int* l = (int*)(d + byteIndex);
|
||||
int v = *l;
|
||||
v = v & ~((mask << offset));
|
||||
v = v | (newValue << offset);
|
||||
*(int*)(d + byteIndex) = v;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the underlying byte array of the BitBuffer.
|
||||
/// </summary>
|
||||
/// <returns>The underlying byte array.</returns>
|
||||
public byte[] GetData()
|
||||
{
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
132
Collections/Palette.cs
Normal file
132
Collections/Palette.cs
Normal file
@@ -0,0 +1,132 @@
|
||||
|
||||
using System.Diagnostics;
|
||||
using SJK.Functional;
|
||||
|
||||
public class Palette<TEntry> where TEntry : IEquatable<TEntry>
|
||||
|
||||
{
|
||||
private List<TEntry> _entries = new();
|
||||
private Dictionary<TEntry, int> _index = new();
|
||||
public int Capacity => _entries.Capacity;
|
||||
public int Count => _entries.Count;
|
||||
public TEntry Get(int index)
|
||||
{
|
||||
Debug.Assert(index >= 0 && index < Count,$"{nameof(index)} is out of range, {nameof(index)} has value {index}, while {nameof(Count)} has value of {Count}");
|
||||
return _entries[index];
|
||||
}
|
||||
public Option<TEntry> Get(Predicate<TEntry> predicate)
|
||||
{
|
||||
foreach (var item in _entries)
|
||||
{
|
||||
if (predicate(item))
|
||||
{
|
||||
return Option<TEntry>.Some(item);
|
||||
}
|
||||
}
|
||||
return Option<TEntry>.None;
|
||||
}
|
||||
public virtual int GetOrAddIndex(TEntry entry)
|
||||
{
|
||||
int index;
|
||||
if (_index.TryGetValue(entry, out index))
|
||||
return index;
|
||||
index = _entries.Count;
|
||||
_index.Add(entry, index);
|
||||
_entries.Add(entry);
|
||||
return index;
|
||||
}
|
||||
|
||||
public IReadOnlyList<TEntry> Entries => _entries;
|
||||
public void Clear()
|
||||
{
|
||||
_entries.Clear();
|
||||
_index.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class RefPalette<TEntry> where TEntry : IEquatable<TEntry>
|
||||
{
|
||||
private readonly List<TEntry> _entries = new();
|
||||
private readonly List<int> _refCounts = new();
|
||||
private readonly Dictionary<TEntry, int> _index = new();
|
||||
private readonly Stack<int> _free = new();
|
||||
|
||||
public RefPalette(TEntry defaultEntry)
|
||||
{
|
||||
_entries.Add(defaultEntry);
|
||||
_refCounts.Add(int.MaxValue); // default entry never removed
|
||||
_index.Add(defaultEntry, 0);
|
||||
}
|
||||
|
||||
public int Count => _entries.Count;
|
||||
public IReadOnlyList<TEntry> Entries => _entries;
|
||||
|
||||
public TEntry Get(int index)
|
||||
{
|
||||
Debug.Assert(index >= 0 && index < _entries.Count,
|
||||
$"{nameof(index)} out of range. index={index}, count={_entries.Count}");
|
||||
|
||||
return _entries[index];
|
||||
}
|
||||
|
||||
public int GetOrAddIndex(TEntry entry)
|
||||
{
|
||||
if (_index.TryGetValue(entry, out var index))
|
||||
return index;
|
||||
|
||||
if (_free.Count > 0)
|
||||
{
|
||||
index = _free.Pop();
|
||||
_entries[index] = entry;
|
||||
_refCounts[index] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
index = _entries.Count;
|
||||
_entries.Add(entry);
|
||||
_refCounts.Add(0);
|
||||
}
|
||||
|
||||
_index[entry] = index;
|
||||
return index;
|
||||
}
|
||||
|
||||
public void AddRef(int index)
|
||||
{
|
||||
Debug.Assert(index >= 0 && index < _refCounts.Count);
|
||||
_refCounts[index]++;
|
||||
}
|
||||
|
||||
public void Release(int index)
|
||||
{
|
||||
Debug.Assert(index > 0 && index < _refCounts.Count); // never release default
|
||||
|
||||
int count = --_refCounts[index];
|
||||
|
||||
if (count == 0)
|
||||
{
|
||||
var entry = _entries[index];
|
||||
_index.Remove(entry);
|
||||
|
||||
_entries[index] = default!;
|
||||
_free.Push(index);
|
||||
}
|
||||
}
|
||||
|
||||
public int RefCount(int index)
|
||||
{
|
||||
return _refCounts[index];
|
||||
}
|
||||
|
||||
public Option<TEntry> Get(Predicate<TEntry> predicate)
|
||||
{
|
||||
for (int i = 0; i < _entries.Count; i++)
|
||||
{
|
||||
if (_refCounts[i] > 0 && predicate(_entries[i]))
|
||||
return Option<TEntry>.Some(_entries[i]);
|
||||
}
|
||||
|
||||
return Option<TEntry>.None;
|
||||
}
|
||||
}
|
||||
17
Functional/Cache.cs
Normal file
17
Functional/Cache.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace SJK.Functional;
|
||||
|
||||
public class Cache<T> where T : class
|
||||
{
|
||||
private T? _cache;
|
||||
private Func<T> _provider;
|
||||
private readonly Func<T, bool>? _isvalid;
|
||||
|
||||
public Cache(Func<T> provider, Func<T, bool>? isvalid = null)
|
||||
{
|
||||
_provider = provider;
|
||||
_isvalid = isvalid;
|
||||
}
|
||||
public bool IsCached() => _cache is not null;
|
||||
public T Value => _cache is null || (_isvalid is not null && !_isvalid(_cache)) ? _cache = _provider() : _cache;
|
||||
|
||||
}
|
||||
14
Functional/IEither.cs
Normal file
14
Functional/IEither.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace SJK.Functional;
|
||||
|
||||
public interface IEither<TLeft, TRight>
|
||||
{
|
||||
IEither<TNewLeft, TRight> MapLeft<TNewLeft>(Func<TLeft, TNewLeft> mapping);
|
||||
IEither<TLeft, TNewRight> MapRight<TNewRight>(Func<TRight, TNewRight> mapping);
|
||||
TLeft Reduce(Func<TRight, TLeft> mapping);
|
||||
(TLeft?, TRight?) Deconstruct();
|
||||
TResult Match<TResult>(Func<TLeft, TResult> left, Func<TRight, TResult> right);
|
||||
void Match(Action<TLeft> left, Action<TRight> right);
|
||||
IEither<TLeft, T2> Bind<T2>(Func<TRight, IEither<TLeft, T2>> value);
|
||||
bool IsRight();
|
||||
bool IsLeft() => !IsRight();
|
||||
}
|
||||
51
Functional/IOption.cs
Normal file
51
Functional/IOption.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace SJK.Functional;
|
||||
public interface IOption<T> : IEquatable<IOption<T>>
|
||||
{
|
||||
/// <summary>
|
||||
/// Applies a function to the contained value if it exists (is not None), otherwise applies a default function.
|
||||
/// </summary>
|
||||
/// <param name="onSome">Function to apply if the option contains a value.</param>
|
||||
/// <param name="onNone">Function to apply if the option does not contain a value.</param>
|
||||
/// <returns>The result of applying either the onSome or onNone function.</returns>
|
||||
TResult Match<TResult>(Func<T, TResult> onSome, Func<TResult> onNone);
|
||||
void Match(Action<T> onSome,Action onNone);
|
||||
|
||||
/// <summary>
|
||||
/// Chains operations on the contained value using a function that returns an option.
|
||||
/// </summary>
|
||||
/// <param name="f">A function that takes the contained value and returns an option.</param>
|
||||
/// <returns>An option resulting from applying the function f to the contained value.</returns>
|
||||
IOption<TResult> Bind<TResult>(Func<T, IOption<TResult>> f);
|
||||
|
||||
/// <summary>
|
||||
/// Maps a function over the contained value if it exists (is not None).
|
||||
/// </summary>
|
||||
/// <param name="f">The function to apply to the contained value.</param>
|
||||
/// <returns>An option containing the result of applying f to the contained value.</returns>
|
||||
IOption<TResult> Map<TResult>(Func<T, TResult> f);
|
||||
|
||||
/// <summary>
|
||||
/// Returns the contained value if it exists (is not None), otherwise returns the provided default value.
|
||||
/// </summary>
|
||||
/// <param name="aDefault">The default value to return if the option does not contain a value.</param>
|
||||
/// <returns>The contained value or the default value.</returns>
|
||||
T Or(T aDefault);
|
||||
|
||||
/// <summary>
|
||||
/// Returns the contained value if it exists (is not None), otherwise calls the provided default function.
|
||||
/// </summary>
|
||||
/// <param name="aDefault">The default value to return if the option does not contain a value.</param>
|
||||
/// <returns>The contained value or the default value.</returns>
|
||||
T Or(Func<T> aDefault);
|
||||
|
||||
/// <summary>
|
||||
/// Checks if the option contains a value (is not None) and outputs it if true.
|
||||
/// </summary>
|
||||
/// <param name="value">An out parameter that will be assigned the contained value if it exists.</param>
|
||||
/// <returns>true if the option contains a value; false otherwise.</returns>
|
||||
bool HasValue([NotNullWhen(true)]out T? value);
|
||||
// [Obsolete]
|
||||
bool HasValue();
|
||||
}
|
||||
42
Functional/Left.cs
Normal file
42
Functional/Left.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
namespace SJK.Functional;
|
||||
|
||||
public sealed class Left<TLeft, TRight> : IEither<TLeft, TRight>
|
||||
{
|
||||
private readonly TLeft _value;
|
||||
public Left(TLeft value){
|
||||
this._value = value;
|
||||
}
|
||||
|
||||
|
||||
public IEither<TLeft, T2> Bind<T2>(Func<TRight, IEither<TLeft, T2>> value)
|
||||
{
|
||||
return new Left<TLeft,T2>(_value);
|
||||
}
|
||||
|
||||
public (TLeft?, TRight?) Deconstruct()=>(_value,default(TRight));
|
||||
|
||||
public bool IsRight() => true;
|
||||
|
||||
public IEither<TNewLeft, TRight> MapLeft<TNewLeft>(Func<TLeft, TNewLeft> mapping)
|
||||
=> new Left<TNewLeft,TRight>(mapping(this._value));
|
||||
|
||||
public IEither<TLeft, TNewRight> MapRight<TNewRight>(Func<TRight, TNewRight> mapping)
|
||||
=> new Left<TLeft,TNewRight>(this._value);
|
||||
|
||||
|
||||
public TResult Match<TResult>(Func<TLeft, TResult> left, Func<TRight, TResult> right)
|
||||
{
|
||||
return left(_value);
|
||||
}
|
||||
|
||||
public void Match(Action<TLeft> left, Action<TRight> right)
|
||||
{
|
||||
left(_value);
|
||||
}
|
||||
|
||||
public TLeft Reduce(Func<TRight, TLeft> mapping)=> _value;
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Left<{typeof(TLeft).Name}> with Value {_value}";
|
||||
}
|
||||
}
|
||||
31
Functional/None.cs
Normal file
31
Functional/None.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace SJK.Functional;
|
||||
|
||||
public sealed class None<T> : IOption<T>
|
||||
{
|
||||
|
||||
public static None<T> Of() => new();
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public TResult Match<TResult>(Func<T, TResult> _, Func<TResult> onNone) =>
|
||||
onNone();
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Match(Action<T> onSome, Action onNone) => onNone();
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public IOption<TResult> Bind<TResult>(Func<T, IOption<TResult>> f) => new None<TResult>();
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public IOption<TResult> Map<TResult>(Func<T, TResult> f) => new None<TResult>();
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public T Or(T aDefault) => aDefault;
|
||||
public T Or(Func<T> aDefault)=>aDefault();
|
||||
public bool HasValue([NotNullWhen(true)]out T? value) => (value = default) is not null && false;
|
||||
public bool HasValue() => false;
|
||||
public override string ToString()
|
||||
{
|
||||
return nameof(None<T>);
|
||||
}
|
||||
|
||||
public bool Equals(IOption<T>? other)=> other is None<T>;
|
||||
}
|
||||
87
Functional/OptionExtensions.cs
Normal file
87
Functional/OptionExtensions.cs
Normal file
@@ -0,0 +1,87 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace SJK.Functional;
|
||||
|
||||
public static class OptionExtensions
|
||||
{
|
||||
public static IEnumerable<TResult> Match<T, TResult>(this IEnumerable<IOption<T>> values, Func<T, TResult> onSome, Func<TResult> onNone)
|
||||
{
|
||||
foreach (var item in values)
|
||||
{
|
||||
yield return item.Match(onSome, onNone);
|
||||
}
|
||||
}
|
||||
// public static IOption<T> GetValue<Tkey, T>(this IDictionary<Tkey, T> value, Tkey key) where Tkey : notnull
|
||||
// {
|
||||
// if (value.TryGetValue(key, out var v))
|
||||
// {
|
||||
// return v.ToOption();
|
||||
// }
|
||||
// return None<T>.Of();
|
||||
// }
|
||||
public static IOption<T> GetValue<Tkey, T>(this IReadOnlyDictionary<Tkey, T> value, Tkey key) where Tkey : notnull
|
||||
{
|
||||
if (value.TryGetValue(key, out var v))
|
||||
{
|
||||
return v.ToOption();
|
||||
}
|
||||
return None<T>.Of();
|
||||
}
|
||||
public static IOption<T> OrElse<T>(this IOption<T> option, Func<IOption<T>> fallback)
|
||||
{
|
||||
return option.Match(
|
||||
some => option,
|
||||
() => fallback()
|
||||
);
|
||||
}
|
||||
public static IOption<TResult> BindUsing<TDisposable, TResult>(
|
||||
this IOption<TDisposable> option,
|
||||
Func<TDisposable, IOption<TResult>> func)
|
||||
where TDisposable : IDisposable
|
||||
{
|
||||
return option.Match(
|
||||
some =>
|
||||
{
|
||||
using (some) return func(some);
|
||||
},
|
||||
() => None<TResult>.Of()
|
||||
);
|
||||
}
|
||||
|
||||
public static IOption<T> ToOption<T>(this T? value) => value != null ? Some<T>.Of(value) : None<T>.Of();
|
||||
[StackTraceHidden]
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static T OrThrow<T, TEx>(this IOption<T> option, Func<TEx> exceptionFactory) where TEx : Exception
|
||||
{
|
||||
if (option.HasValue(out var value))
|
||||
return value;
|
||||
|
||||
throw exceptionFactory();
|
||||
}
|
||||
public static IEither<L, R> ToEither<Tvalue, L, R>(this Tvalue value, Func<Tvalue, bool> isSuccess, Func<R> ok, Func<Tvalue, L> err)
|
||||
{
|
||||
return isSuccess(value) ? new Right<L, R>(ok()) : new Left<L, R>(err(value));
|
||||
}
|
||||
public static IEither<L, R> ToEither<Tvalue, L, R>(this Tvalue value, Tvalue successValue, Func<R> ok, Func<Tvalue, L> err)
|
||||
{
|
||||
return value.ToEither(e => e.Equals(successValue), ok, err);
|
||||
}
|
||||
// public static IEnumerable<IOption<T>> ToOptions<T>(this IEnumerable<T> value) => value.Select(thing => thing.ToOption());
|
||||
public static Some<T> ToSome<T>(this T value) where T : notnull => Some<T>.Of(value);
|
||||
public static void IfSome<T>(this IOption<T> value, Action<T> onSome) => value.Match(onSome, () => { });
|
||||
public static void IfNone<T>(this IOption<T> value, Action onNone) => value.Match(_ => { }, onNone);
|
||||
|
||||
public static T Or<T>(this IOption<T> value, Func<T> @default) => value.Or(@default());
|
||||
public static IEnumerable<T> OnlySomes<T>(this IEnumerable<IOption<T>> options)
|
||||
{
|
||||
foreach (var item in options)
|
||||
{
|
||||
if (item.HasValue(out var item2))
|
||||
yield return item2;
|
||||
}
|
||||
}
|
||||
// public static None<T> ToNone<T>(this T value) => None<T>.Of();
|
||||
|
||||
public static Option<T> ToStructOption<T>(this IOption<T> option) => option.HasValue(out var value) ? Option<T>.Some(value) : Option<T>.None;
|
||||
public static IOption<T> ToClassOption<T>(this Option<T> option) => option.HasValue ? option.Value.ToOption() : None<T>.Of();
|
||||
}
|
||||
40
Functional/OptionalStruct.cs
Normal file
40
Functional/OptionalStruct.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace SJK.Functional;
|
||||
|
||||
public struct Option<T> : IEquatable<Option<T>>
|
||||
{
|
||||
private readonly T? _value;
|
||||
[MemberNotNullWhen(true, nameof(_value))]
|
||||
public bool HasValue { get; }
|
||||
public static Option<T> None => new(default, false);
|
||||
public static Option<T> Some(T value) => new(value, true);
|
||||
private Option(T? value, bool hasValue)
|
||||
{
|
||||
Debug.Assert(!(value is null && hasValue), "Can not create an option with a null value had say it has one");
|
||||
|
||||
_value = value;
|
||||
HasValue = hasValue;
|
||||
}
|
||||
public T? Value => HasValue ? _value : throw new InvalidOperationException("Can not retrive value when there is no value.");
|
||||
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public TResult Match<TResult>(Func<T, TResult> some, Func<TResult> none) => HasValue ? some(_value) : none();
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public Option<TResult> Map<TResult>(Func<T, TResult> f) => HasValue ? Option<TResult>.Some(f(_value)) : Option<TResult>.None;
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public Option<TResult> Bind<TResult>(Func<T, Option<TResult>> f) => HasValue ? f(_value) : Option<TResult>.None;
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public T OrDefault(T value) => HasValue ? _value : value;
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public T Or(Func<T> factory) => HasValue ? _value : factory();
|
||||
|
||||
public override bool Equals([NotNullWhen(true)] object? obj) => obj is Option<T> other && Equals(other);
|
||||
|
||||
public bool Equals(Option<T> other) => (HasValue == other.HasValue) && (!HasValue || EqualityComparer<T>.Default.Equals(_value, other._value));
|
||||
|
||||
public override int GetHashCode() => HasValue ? EqualityComparer<T>.Default.GetHashCode(_value) : 0;
|
||||
public override string ToString() => HasValue ? $"Some({_value})" : $"None<{typeof(T).Name}>()";
|
||||
}
|
||||
38
Functional/Right.cs
Normal file
38
Functional/Right.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
namespace SJK.Functional;
|
||||
|
||||
public sealed class Right<TLeft, TRight> : IEither<TLeft, TRight>
|
||||
{
|
||||
private readonly TRight _value;
|
||||
public Right(TRight value){
|
||||
this._value = value;
|
||||
}
|
||||
public (TLeft?, TRight?) Deconstruct()=>(default(TLeft),_value);
|
||||
public IEither<TNewLeft, TRight> MapLeft<TNewLeft>(Func<TLeft, TNewLeft> mapping)
|
||||
=> new Right<TNewLeft,TRight>(this._value);
|
||||
|
||||
public IEither<TLeft, TNewRight> MapRight<TNewRight>(Func<TRight, TNewRight> mapping)
|
||||
=> new Right<TLeft,TNewRight>(mapping(this._value));
|
||||
|
||||
public TLeft Reduce(Func<TRight, TLeft> mapping)=> mapping(this._value);
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Right<{typeof(TRight).Name}> with Value {_value}";
|
||||
}
|
||||
|
||||
public TResult Match<TResult>(Func<TLeft, TResult> left, Func<TRight, TResult> right)
|
||||
{
|
||||
return right(_value);
|
||||
}
|
||||
|
||||
public void Match(Action<TLeft> left, Action<TRight> right)
|
||||
{
|
||||
right(_value);
|
||||
}
|
||||
|
||||
public IEither<TLeft, T2> Bind< T2>(Func<TRight, IEither<TLeft, T2>> value)
|
||||
{
|
||||
return value(_value);
|
||||
}
|
||||
|
||||
public bool IsRight() => false;
|
||||
}
|
||||
44
Functional/Some.cs
Normal file
44
Functional/Some.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace SJK.Functional;
|
||||
|
||||
public class Some<T> : IOption<T>
|
||||
{
|
||||
private readonly T _data;
|
||||
|
||||
private Some(T data)
|
||||
{
|
||||
_data = data;
|
||||
}
|
||||
public ref readonly T Value => ref _data;
|
||||
public static Some<T> Of(T data) => new(data);
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]//TODO see if these inporve perfomce in gernral cases
|
||||
public TResult Match<TResult>(Func<T, TResult> onSome, Func<TResult> _) =>
|
||||
onSome(_data);
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public IOption<TResult> Bind<TResult>(Func<T, IOption<TResult>> f) => f(_data);
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public IOption<TResult> Map<TResult>(Func<T, TResult> f) => new Some<TResult>(f(_data));
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public T Or(T _) => _data;
|
||||
public T Or(Func<T> aDefault) => _data;
|
||||
public bool HasValue([NotNullWhen(true)]out T? value) => (value = _data) is not null;
|
||||
|
||||
public bool HasValue() => true;
|
||||
// [MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Match(Action<T> onSome, Action onNone) => onSome(_data);
|
||||
public override string ToString()
|
||||
{
|
||||
return nameof(Some<T>)+": "+ _data;
|
||||
}
|
||||
|
||||
public bool Equals(IOption<T>? other)
|
||||
{
|
||||
if (other is Some<T> some){
|
||||
return _data!.Equals(some._data);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
7
Functional/Tuple.cs
Normal file
7
Functional/Tuple.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace SJK.Functional;
|
||||
|
||||
public static class TupleExtensions
|
||||
{
|
||||
public static (T1, T2) ToTuple<T1, T2>(this T1 first, T2 second) => (first, second);
|
||||
}
|
||||
|
||||
9
Helpers/ActivatorCache.cs
Normal file
9
Helpers/ActivatorCache.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace SjkScripts.Helpers
|
||||
{
|
||||
public static class ActivatorCache<T> where T : new()
|
||||
{
|
||||
public static readonly Func<T> Create = Expression.Lambda<Func<T>>(Expression.New(typeof(T))).Compile();
|
||||
}
|
||||
}
|
||||
53
Math/Math.cs
Normal file
53
Math/Math.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System.Numerics;
|
||||
|
||||
namespace SJK.Math;
|
||||
|
||||
public static class SJKMath
|
||||
{
|
||||
public static T Max<T>(params T[] values) where T : INumber<T>
|
||||
{
|
||||
if (values.Length == 0)
|
||||
throw new ArgumentException($"No values provided");
|
||||
T max = values[0];
|
||||
foreach (var item in values.Skip(1))
|
||||
{
|
||||
max = T.Max(item, max);
|
||||
}
|
||||
return max;
|
||||
}
|
||||
public static T Min<T>(params T[] values) where T : INumber<T>
|
||||
{
|
||||
if (values.Length == 0)
|
||||
throw new ArgumentException($"No values provided");
|
||||
T max = values[0];
|
||||
foreach (var item in values.Skip(1))
|
||||
{
|
||||
max = T.Min(item, max);
|
||||
}
|
||||
return max;
|
||||
}
|
||||
public static long UpperPowerOfTwo(long v)
|
||||
{
|
||||
v--;
|
||||
v |= v >> 1;
|
||||
v |= v >> 2;
|
||||
v |= v >> 4;
|
||||
v |= v >> 8;
|
||||
v |= v >> 16;
|
||||
v++;
|
||||
return v;
|
||||
|
||||
}
|
||||
public static int UpperPowerOfTwo(int v)
|
||||
{
|
||||
v--;
|
||||
v |= v >> 1;
|
||||
v |= v >> 2;
|
||||
v |= v >> 4;
|
||||
v |= v >> 8;
|
||||
v |= v >> 16;
|
||||
v++;
|
||||
return v;
|
||||
|
||||
}
|
||||
}
|
||||
10
SjkScripts.csproj
Normal file
10
SjkScripts.csproj
Normal file
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")]
|
||||
22
obj/Debug/net10.0/SjkScripts.AssemblyInfo.cs
Normal file
22
obj/Debug/net10.0/SjkScripts.AssemblyInfo.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("SjkScripts")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("SjkScripts")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("SjkScripts")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
1
obj/Debug/net10.0/SjkScripts.AssemblyInfoInputs.cache
Normal file
1
obj/Debug/net10.0/SjkScripts.AssemblyInfoInputs.cache
Normal file
@@ -0,0 +1 @@
|
||||
7137fc2017e64ade936c900f8e817e0aff7ae7fc940f8c1c685488ed86ac37f8
|
||||
@@ -0,0 +1,17 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net10.0
|
||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
||||
build_property.TargetFrameworkVersion = v10.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = SjkScripts
|
||||
build_property.ProjectDir = /home/ronnie/Documents/Godot/Projects/SjkScripts/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 10.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
8
obj/Debug/net10.0/SjkScripts.GlobalUsings.g.cs
Normal file
8
obj/Debug/net10.0/SjkScripts.GlobalUsings.g.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using System.IO;
|
||||
global using System.Linq;
|
||||
global using System.Net.Http;
|
||||
global using System.Threading;
|
||||
global using System.Threading.Tasks;
|
||||
BIN
obj/Debug/net10.0/SjkScripts.assets.cache
Normal file
BIN
obj/Debug/net10.0/SjkScripts.assets.cache
Normal file
Binary file not shown.
348
obj/SjkScripts.csproj.nuget.dgspec.json
Normal file
348
obj/SjkScripts.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,348 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj",
|
||||
"projectName": "SjkScripts",
|
||||
"projectPath": "/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj",
|
||||
"packagesPath": "/home/ronnie/.nuget/packages/",
|
||||
"outputPath": "/home/ronnie/Documents/Godot/Projects/SjkScripts/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/ronnie/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
],
|
||||
"sources": {
|
||||
"/home/ronnie/Documents/NuGet": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[10.0.4, 10.0.4]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.104/PortableRuntimeIdentifierGraph.json",
|
||||
"packagesToPrune": {
|
||||
"Microsoft.CSharp": "(,4.7.32767]",
|
||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||
"Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"Microsoft.Win32.Registry": "(,5.0.32767]",
|
||||
"runtime.any.System.Collections": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.any.System.IO": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.any.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.aot.System.Collections": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.aot.System.IO": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Console": "(,4.3.32767]",
|
||||
"runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.unix.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.unix.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.unix.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Console": "(,4.3.32767]",
|
||||
"runtime.win.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.win.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.win.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"System.AppContext": "(,4.3.32767]",
|
||||
"System.Buffers": "(,5.0.32767]",
|
||||
"System.Collections": "(,4.3.32767]",
|
||||
"System.Collections.Concurrent": "(,4.3.32767]",
|
||||
"System.Collections.Immutable": "(,10.0.32767]",
|
||||
"System.Collections.NonGeneric": "(,4.3.32767]",
|
||||
"System.Collections.Specialized": "(,4.3.32767]",
|
||||
"System.ComponentModel": "(,4.3.32767]",
|
||||
"System.ComponentModel.Annotations": "(,4.3.32767]",
|
||||
"System.ComponentModel.EventBasedAsync": "(,4.3.32767]",
|
||||
"System.ComponentModel.Primitives": "(,4.3.32767]",
|
||||
"System.ComponentModel.TypeConverter": "(,4.3.32767]",
|
||||
"System.Console": "(,4.3.32767]",
|
||||
"System.Data.Common": "(,4.3.32767]",
|
||||
"System.Data.DataSetExtensions": "(,4.4.32767]",
|
||||
"System.Diagnostics.Contracts": "(,4.3.32767]",
|
||||
"System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"System.Diagnostics.DiagnosticSource": "(,10.0.32767]",
|
||||
"System.Diagnostics.FileVersionInfo": "(,4.3.32767]",
|
||||
"System.Diagnostics.Process": "(,4.3.32767]",
|
||||
"System.Diagnostics.StackTrace": "(,4.3.32767]",
|
||||
"System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"System.Diagnostics.TraceSource": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"System.Drawing.Primitives": "(,4.3.32767]",
|
||||
"System.Dynamic.Runtime": "(,4.3.32767]",
|
||||
"System.Formats.Asn1": "(,10.0.32767]",
|
||||
"System.Formats.Tar": "(,10.0.32767]",
|
||||
"System.Globalization": "(,4.3.32767]",
|
||||
"System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"System.Globalization.Extensions": "(,4.3.32767]",
|
||||
"System.IO": "(,4.3.32767]",
|
||||
"System.IO.Compression": "(,4.3.32767]",
|
||||
"System.IO.Compression.ZipFile": "(,4.3.32767]",
|
||||
"System.IO.FileSystem": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.AccessControl": "(,4.4.32767]",
|
||||
"System.IO.FileSystem.DriveInfo": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Primitives": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Watcher": "(,4.3.32767]",
|
||||
"System.IO.IsolatedStorage": "(,4.3.32767]",
|
||||
"System.IO.MemoryMappedFiles": "(,4.3.32767]",
|
||||
"System.IO.Pipelines": "(,10.0.32767]",
|
||||
"System.IO.Pipes": "(,4.3.32767]",
|
||||
"System.IO.Pipes.AccessControl": "(,5.0.32767]",
|
||||
"System.IO.UnmanagedMemoryStream": "(,4.3.32767]",
|
||||
"System.Linq": "(,4.3.32767]",
|
||||
"System.Linq.AsyncEnumerable": "(,10.0.32767]",
|
||||
"System.Linq.Expressions": "(,4.3.32767]",
|
||||
"System.Linq.Parallel": "(,4.3.32767]",
|
||||
"System.Linq.Queryable": "(,4.3.32767]",
|
||||
"System.Memory": "(,5.0.32767]",
|
||||
"System.Net.Http": "(,4.3.32767]",
|
||||
"System.Net.Http.Json": "(,10.0.32767]",
|
||||
"System.Net.NameResolution": "(,4.3.32767]",
|
||||
"System.Net.NetworkInformation": "(,4.3.32767]",
|
||||
"System.Net.Ping": "(,4.3.32767]",
|
||||
"System.Net.Primitives": "(,4.3.32767]",
|
||||
"System.Net.Requests": "(,4.3.32767]",
|
||||
"System.Net.Security": "(,4.3.32767]",
|
||||
"System.Net.ServerSentEvents": "(,10.0.32767]",
|
||||
"System.Net.Sockets": "(,4.3.32767]",
|
||||
"System.Net.WebHeaderCollection": "(,4.3.32767]",
|
||||
"System.Net.WebSockets": "(,4.3.32767]",
|
||||
"System.Net.WebSockets.Client": "(,4.3.32767]",
|
||||
"System.Numerics.Vectors": "(,5.0.32767]",
|
||||
"System.ObjectModel": "(,4.3.32767]",
|
||||
"System.Private.DataContractSerialization": "(,4.3.32767]",
|
||||
"System.Private.Uri": "(,4.3.32767]",
|
||||
"System.Reflection": "(,4.3.32767]",
|
||||
"System.Reflection.DispatchProxy": "(,6.0.32767]",
|
||||
"System.Reflection.Emit": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.ILGeneration": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.Lightweight": "(,4.7.32767]",
|
||||
"System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"System.Reflection.Metadata": "(,10.0.32767]",
|
||||
"System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"System.Reflection.TypeExtensions": "(,4.3.32767]",
|
||||
"System.Resources.Reader": "(,4.3.32767]",
|
||||
"System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"System.Resources.Writer": "(,4.3.32767]",
|
||||
"System.Runtime": "(,4.3.32767]",
|
||||
"System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]",
|
||||
"System.Runtime.CompilerServices.VisualC": "(,4.3.32767]",
|
||||
"System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"System.Runtime.Handles": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]",
|
||||
"System.Runtime.Loader": "(,4.3.32767]",
|
||||
"System.Runtime.Numerics": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Formatters": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Json": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Primitives": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Xml": "(,4.3.32767]",
|
||||
"System.Security.AccessControl": "(,6.0.32767]",
|
||||
"System.Security.Claims": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Algorithms": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Cng": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Csp": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Encoding": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.OpenSsl": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Primitives": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.X509Certificates": "(,4.3.32767]",
|
||||
"System.Security.Principal": "(,4.3.32767]",
|
||||
"System.Security.Principal.Windows": "(,5.0.32767]",
|
||||
"System.Security.SecureString": "(,4.3.32767]",
|
||||
"System.Text.Encoding": "(,4.3.32767]",
|
||||
"System.Text.Encoding.CodePages": "(,10.0.32767]",
|
||||
"System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"System.Text.Encodings.Web": "(,10.0.32767]",
|
||||
"System.Text.Json": "(,10.0.32767]",
|
||||
"System.Text.RegularExpressions": "(,4.3.32767]",
|
||||
"System.Threading": "(,4.3.32767]",
|
||||
"System.Threading.AccessControl": "(,10.0.32767]",
|
||||
"System.Threading.Channels": "(,10.0.32767]",
|
||||
"System.Threading.Overlapped": "(,4.3.32767]",
|
||||
"System.Threading.Tasks": "(,4.3.32767]",
|
||||
"System.Threading.Tasks.Dataflow": "(,10.0.32767]",
|
||||
"System.Threading.Tasks.Extensions": "(,5.0.32767]",
|
||||
"System.Threading.Tasks.Parallel": "(,4.3.32767]",
|
||||
"System.Threading.Thread": "(,4.3.32767]",
|
||||
"System.Threading.ThreadPool": "(,4.3.32767]",
|
||||
"System.Threading.Timer": "(,4.3.32767]",
|
||||
"System.ValueTuple": "(,4.5.32767]",
|
||||
"System.Xml.ReaderWriter": "(,4.3.32767]",
|
||||
"System.Xml.XDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlSerializer": "(,4.3.32767]",
|
||||
"System.Xml.XPath": "(,4.3.32767]",
|
||||
"System.Xml.XPath.XDocument": "(,5.0.32767]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
obj/SjkScripts.csproj.nuget.g.props
Normal file
15
obj/SjkScripts.csproj.nuget.g.props
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/ronnie/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/ronnie/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/ronnie/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
2
obj/SjkScripts.csproj.nuget.g.targets
Normal file
2
obj/SjkScripts.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||
353
obj/project.assets.json
Normal file
353
obj/project.assets.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net10.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net10.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/ronnie/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj",
|
||||
"projectName": "SjkScripts",
|
||||
"projectPath": "/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj",
|
||||
"packagesPath": "/home/ronnie/.nuget/packages/",
|
||||
"outputPath": "/home/ronnie/Documents/Godot/Projects/SjkScripts/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/ronnie/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
],
|
||||
"sources": {
|
||||
"/home/ronnie/Documents/NuGet": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[10.0.4, 10.0.4]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.104/PortableRuntimeIdentifierGraph.json",
|
||||
"packagesToPrune": {
|
||||
"Microsoft.CSharp": "(,4.7.32767]",
|
||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||
"Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"Microsoft.Win32.Registry": "(,5.0.32767]",
|
||||
"runtime.any.System.Collections": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.any.System.IO": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.any.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.aot.System.Collections": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.aot.System.IO": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Console": "(,4.3.32767]",
|
||||
"runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.unix.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.unix.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.unix.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Console": "(,4.3.32767]",
|
||||
"runtime.win.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.win.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.win.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"System.AppContext": "(,4.3.32767]",
|
||||
"System.Buffers": "(,5.0.32767]",
|
||||
"System.Collections": "(,4.3.32767]",
|
||||
"System.Collections.Concurrent": "(,4.3.32767]",
|
||||
"System.Collections.Immutable": "(,10.0.32767]",
|
||||
"System.Collections.NonGeneric": "(,4.3.32767]",
|
||||
"System.Collections.Specialized": "(,4.3.32767]",
|
||||
"System.ComponentModel": "(,4.3.32767]",
|
||||
"System.ComponentModel.Annotations": "(,4.3.32767]",
|
||||
"System.ComponentModel.EventBasedAsync": "(,4.3.32767]",
|
||||
"System.ComponentModel.Primitives": "(,4.3.32767]",
|
||||
"System.ComponentModel.TypeConverter": "(,4.3.32767]",
|
||||
"System.Console": "(,4.3.32767]",
|
||||
"System.Data.Common": "(,4.3.32767]",
|
||||
"System.Data.DataSetExtensions": "(,4.4.32767]",
|
||||
"System.Diagnostics.Contracts": "(,4.3.32767]",
|
||||
"System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"System.Diagnostics.DiagnosticSource": "(,10.0.32767]",
|
||||
"System.Diagnostics.FileVersionInfo": "(,4.3.32767]",
|
||||
"System.Diagnostics.Process": "(,4.3.32767]",
|
||||
"System.Diagnostics.StackTrace": "(,4.3.32767]",
|
||||
"System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"System.Diagnostics.TraceSource": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"System.Drawing.Primitives": "(,4.3.32767]",
|
||||
"System.Dynamic.Runtime": "(,4.3.32767]",
|
||||
"System.Formats.Asn1": "(,10.0.32767]",
|
||||
"System.Formats.Tar": "(,10.0.32767]",
|
||||
"System.Globalization": "(,4.3.32767]",
|
||||
"System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"System.Globalization.Extensions": "(,4.3.32767]",
|
||||
"System.IO": "(,4.3.32767]",
|
||||
"System.IO.Compression": "(,4.3.32767]",
|
||||
"System.IO.Compression.ZipFile": "(,4.3.32767]",
|
||||
"System.IO.FileSystem": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.AccessControl": "(,4.4.32767]",
|
||||
"System.IO.FileSystem.DriveInfo": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Primitives": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Watcher": "(,4.3.32767]",
|
||||
"System.IO.IsolatedStorage": "(,4.3.32767]",
|
||||
"System.IO.MemoryMappedFiles": "(,4.3.32767]",
|
||||
"System.IO.Pipelines": "(,10.0.32767]",
|
||||
"System.IO.Pipes": "(,4.3.32767]",
|
||||
"System.IO.Pipes.AccessControl": "(,5.0.32767]",
|
||||
"System.IO.UnmanagedMemoryStream": "(,4.3.32767]",
|
||||
"System.Linq": "(,4.3.32767]",
|
||||
"System.Linq.AsyncEnumerable": "(,10.0.32767]",
|
||||
"System.Linq.Expressions": "(,4.3.32767]",
|
||||
"System.Linq.Parallel": "(,4.3.32767]",
|
||||
"System.Linq.Queryable": "(,4.3.32767]",
|
||||
"System.Memory": "(,5.0.32767]",
|
||||
"System.Net.Http": "(,4.3.32767]",
|
||||
"System.Net.Http.Json": "(,10.0.32767]",
|
||||
"System.Net.NameResolution": "(,4.3.32767]",
|
||||
"System.Net.NetworkInformation": "(,4.3.32767]",
|
||||
"System.Net.Ping": "(,4.3.32767]",
|
||||
"System.Net.Primitives": "(,4.3.32767]",
|
||||
"System.Net.Requests": "(,4.3.32767]",
|
||||
"System.Net.Security": "(,4.3.32767]",
|
||||
"System.Net.ServerSentEvents": "(,10.0.32767]",
|
||||
"System.Net.Sockets": "(,4.3.32767]",
|
||||
"System.Net.WebHeaderCollection": "(,4.3.32767]",
|
||||
"System.Net.WebSockets": "(,4.3.32767]",
|
||||
"System.Net.WebSockets.Client": "(,4.3.32767]",
|
||||
"System.Numerics.Vectors": "(,5.0.32767]",
|
||||
"System.ObjectModel": "(,4.3.32767]",
|
||||
"System.Private.DataContractSerialization": "(,4.3.32767]",
|
||||
"System.Private.Uri": "(,4.3.32767]",
|
||||
"System.Reflection": "(,4.3.32767]",
|
||||
"System.Reflection.DispatchProxy": "(,6.0.32767]",
|
||||
"System.Reflection.Emit": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.ILGeneration": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.Lightweight": "(,4.7.32767]",
|
||||
"System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"System.Reflection.Metadata": "(,10.0.32767]",
|
||||
"System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"System.Reflection.TypeExtensions": "(,4.3.32767]",
|
||||
"System.Resources.Reader": "(,4.3.32767]",
|
||||
"System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"System.Resources.Writer": "(,4.3.32767]",
|
||||
"System.Runtime": "(,4.3.32767]",
|
||||
"System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]",
|
||||
"System.Runtime.CompilerServices.VisualC": "(,4.3.32767]",
|
||||
"System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"System.Runtime.Handles": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]",
|
||||
"System.Runtime.Loader": "(,4.3.32767]",
|
||||
"System.Runtime.Numerics": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Formatters": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Json": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Primitives": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Xml": "(,4.3.32767]",
|
||||
"System.Security.AccessControl": "(,6.0.32767]",
|
||||
"System.Security.Claims": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Algorithms": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Cng": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Csp": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Encoding": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.OpenSsl": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Primitives": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.X509Certificates": "(,4.3.32767]",
|
||||
"System.Security.Principal": "(,4.3.32767]",
|
||||
"System.Security.Principal.Windows": "(,5.0.32767]",
|
||||
"System.Security.SecureString": "(,4.3.32767]",
|
||||
"System.Text.Encoding": "(,4.3.32767]",
|
||||
"System.Text.Encoding.CodePages": "(,10.0.32767]",
|
||||
"System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"System.Text.Encodings.Web": "(,10.0.32767]",
|
||||
"System.Text.Json": "(,10.0.32767]",
|
||||
"System.Text.RegularExpressions": "(,4.3.32767]",
|
||||
"System.Threading": "(,4.3.32767]",
|
||||
"System.Threading.AccessControl": "(,10.0.32767]",
|
||||
"System.Threading.Channels": "(,10.0.32767]",
|
||||
"System.Threading.Overlapped": "(,4.3.32767]",
|
||||
"System.Threading.Tasks": "(,4.3.32767]",
|
||||
"System.Threading.Tasks.Dataflow": "(,10.0.32767]",
|
||||
"System.Threading.Tasks.Extensions": "(,5.0.32767]",
|
||||
"System.Threading.Tasks.Parallel": "(,4.3.32767]",
|
||||
"System.Threading.Thread": "(,4.3.32767]",
|
||||
"System.Threading.ThreadPool": "(,4.3.32767]",
|
||||
"System.Threading.Timer": "(,4.3.32767]",
|
||||
"System.ValueTuple": "(,4.5.32767]",
|
||||
"System.Xml.ReaderWriter": "(,4.3.32767]",
|
||||
"System.Xml.XDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlSerializer": "(,4.3.32767]",
|
||||
"System.Xml.XPath": "(,4.3.32767]",
|
||||
"System.Xml.XPath.XDocument": "(,5.0.32767]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
obj/project.nuget.cache
Normal file
10
obj/project.nuget.cache
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "6qgAzZ/7auI=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/ronnie/Documents/Godot/Projects/SjkScripts/SjkScripts.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/ronnie/.nuget/packages/microsoft.aspnetcore.app.ref/10.0.4/microsoft.aspnetcore.app.ref.10.0.4.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Reference in New Issue
Block a user