commit 7f3a01e54a66e9c0d64aa2f45d7f0568c4cad7b8 Author: Sanchime Date: Mon May 2 16:11:00 2022 +0800 初始化项目版本 diff --git a/Sanchime.Functional/Core/Eithers/Either.cs b/Sanchime.Functional/Core/Eithers/Either.cs new file mode 100644 index 0000000..8de5b80 --- /dev/null +++ b/Sanchime.Functional/Core/Eithers/Either.cs @@ -0,0 +1,78 @@ +using Sanchime.Functional.Core.Products; + +namespace Sanchime.Functional.Core.Eithers; + +public static class Either +{ + public static Left Left(TLeft left) + => new(left); + public static Right Right(TRight right) + => new(right); +} + +public readonly struct Either +{ + internal TLeft? Left { get; } + internal TRight? Right { get; } + + private bool _isRight { get; } + private bool _isLeft => !_isRight; + + internal Either(TLeft left) + => (_isRight, Left, Right) = (false, left ?? throw new ArgumentNullException(nameof(left)), default); + + internal Either(TRight right) + => (_isRight, Left, Right) = (true, default, right ?? throw new ArgumentNullException(nameof(right))); + + public static implicit operator Either(TLeft left) + => new(left); + + public static implicit operator Either(TRight right) + => new(right); + + /// + /// 将Either.Left隐式转为Either + /// + /// + public static implicit operator Either(Left left) + => new(left.Value); + + /// + /// 将Either.Right隐式转为Either + /// + /// + public static implicit operator Either(Right right) + => new(right.Value); + + public TRRight Match(Func Left, Func Right) + => _isLeft ? Left(this.Left!) : Right(this.Right!); + + public override string ToString() + => Match(l => $"Left({l})", r => $"Right({r})"); +} + + +public readonly struct Left +{ + internal TLeft Value { get; } + internal Left(TLeft value) + => Value = value; + public override string ToString() + => $"Left({Value})"; +} + +public readonly struct Right +{ + internal TRight Value { get; } + internal Right(TRight value) + => Value = value; + + public override string ToString() + => $"Right({Value})"; + + public Right Map(Func mapping) + => Either.Right(mapping(Value)); + + public Either Bind(Func> binding) + => binding(Value); +} \ No newline at end of file diff --git a/Sanchime.Functional/Core/Extensions/Action.cs b/Sanchime.Functional/Core/Extensions/Action.cs new file mode 100644 index 0000000..a6776f4 --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/Action.cs @@ -0,0 +1,29 @@ +using Sanchime.Functional.Core.Products; + +namespace Sanchime.Functional.Core.Extensions; + +public static class ActionExtension +{ + /// + /// 将Action转换成返回为Unit的Func + /// + /// + /// + public static Func ToFunc(this Action action) + => () => { action(); return Unit.Value; }; + + public static Func ToFunc(this Action action) + => (t) => { action(t); return Unit.Value; }; + + public static Func ToFunc(this Action action) + => (t1, t2) => { action(t1, t2); return Unit.Value; }; + + public static Func> ToFunc(this Func func) + => async () => { await func(); return Unit.Value; }; + + public static Func> ToFunc(this Func func) + => async (t) => { await func(t); return Unit.Value; }; + + public static Func> ToFunc(this Func func) + => async (t1, t2) => { await func(t1, t2); return Unit.Value; }; +} diff --git a/Sanchime.Functional/Core/Extensions/Currying.cs b/Sanchime.Functional/Core/Extensions/Currying.cs new file mode 100644 index 0000000..46595b5 --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/Currying.cs @@ -0,0 +1,35 @@ +namespace Sanchime.Functional.Core.Extensions; + +/// +/// 该类是对Func委托实现柯里化的扩展 +/// +public static class CurryingExtension +{ + public static Func> Curry(this Func func) + => t1 => t2 => func(t1, t2); + + public static Func>> Curry(this Func func) + => t1 => t2 => t3 => func(t1, t2, t3); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3) => func(t1, t2, t3); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3, t4) => func(t1, t2, t3, t4); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3, t4, t5) => func(t1, t2, t3, t4, t5); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3, t4, t5, t6) => func(t1, t2, t3, t4, t5, t6); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3, t4, t5, t6, t7) => func(t1, t2, t3, t4, t5, t6, t7); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3, t4, t5, t6, t7, t8) => func(t1, t2, t3, t4, t5, t6, t7, t8); + + public static Func> CurryFirst(this Func func) + => t1 => (t2, t3, t4, t5, t6, t7, t8, t9) => func(t1, t2, t3, t4, t5, t6, t7, t8, t9); +} + diff --git a/Sanchime.Functional/Core/Extensions/Either.cs b/Sanchime.Functional/Core/Extensions/Either.cs new file mode 100644 index 0000000..2817727 --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/Either.cs @@ -0,0 +1,67 @@ +using Sanchime.Functional.Core.Products; +using Sanchime.Functional.Core.Eithers; +namespace Sanchime.Functional.Core.Extensions; + +public static class EitherExtension +{ + public static Unit Match(this Either either, Action Left, Action Right) + => either.Match(Left.ToFunc(), Right.ToFunc()); + + + #region 函子 + public static Either Map(this Either either, Func mapping) + => either.Match>(l => Either.Left(l), r => Either.Right(mapping(r))); + + public static Either Map(this Either either, Func Left, Func Right) + => either.Match>(l => Either.Left(Left(l)), r => Either.Right(Right(r))); + + + #endregion + + #region 单子 + + public static Either Bind(this Either either, Func> binding) + => either.Match(l => Either.Left(l), r => binding(r)); + + #endregion + + + #region 应用函子 + + public static Either Apply(this Either> either, Either param) + => either.Match( + Left: error => Either.Left(error), + Right: func => param.Match>( + Left: error => Either.Left(error), + Right: right => Either.Right(func(right)))); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.Curry), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + public static Either> Apply(this Either> either, Either param) + => Apply(either.Map(CurryingExtension.CurryFirst), param); + + #endregion + + + public static Either ForEach(this Either either, Action action) + => either.Map(action.ToFunc()); +} diff --git a/Sanchime.Functional/Core/Extensions/IEnumerable.cs b/Sanchime.Functional/Core/Extensions/IEnumerable.cs new file mode 100644 index 0000000..e757fa2 --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/IEnumerable.cs @@ -0,0 +1,52 @@ +using System.Collections.Immutable; +using Sanchime.Functional.Core.Options; +using Sanchime.Functional.Core.Products; + +namespace Sanchime.Functional.Core.Extensions; + +/// +/// 序列扩展类 +/// +public static class IEnumerableExtension +{ + + public static Func> Return() => t => List(t); + + public static Option Head(this IEnumerable list) + { + if (list is null) + { + return Option.None; + } + var enumerator = list.GetEnumerator(); + return enumerator.MoveNext() ? Option.Some(enumerator.Current) : Option.None; + } + + public static R Match(this IEnumerable list, Func Empty, Func, R> Otherwise) + => list.Head().Match(Empty, (head) => Otherwise(head, list.Skip(1))); + + public static IEnumerable Map(this IEnumerable list, Func func) + => list.Select(func); + + /// + /// 给集合内每个元素执行一个无返回值函数 + /// + /// + /// + /// + /// + public static IEnumerable ForEach(this IEnumerable source, Action action) + => source.Map(action.ToFunc()).ToImmutableList(); + + public static IEnumerable Bind(this IEnumerable list, Func> func) + => list.SelectMany(func); + + public static IEnumerable Bind(this IEnumerable list, Func> func) + => list.Bind(t => func(t).AsEnumerable()); + + + private static IEnumerable List(T t) + { + throw new NotImplementedException(); + } +} diff --git a/Sanchime.Functional/Core/Extensions/Option.cs b/Sanchime.Functional/Core/Extensions/Option.cs new file mode 100644 index 0000000..fdaddfc --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/Option.cs @@ -0,0 +1,68 @@ +using Sanchime.Functional.Core.Options; +using Sanchime.Functional.Core.Products; + +namespace Sanchime.Functional.Core.Extensions; + +public static class OptionExtension +{ + public static Unit Match(this Option option, Action None, Action Some) + => option.Match(None.ToFunc(), Some.ToFunc()); + + #region 函子: 同一范畴内不同对象之间的态射 + + public static Option Map(this None _, Func mapping) + => Option.None; + + public static Option Map(this Some some, Func mapping) + => Option.Some(mapping(some.Value)); + + public static Option Map(this Option option, Func mapping) + => option.Match(() => Option.None, (val) => Option.Some(mapping(val))); + + public static Option> Map(this Option option, Func mapping) + => option.Map(mapping.Curry()); + + public static Option> Map(this Option option, Func mapping) + => option.Map(mapping.CurryFirst()); + #endregion + + #region 单子: 自函子范畴上的幺半群 + + /// + /// Return自然变换: 将上下文无关的值导入至上下文有关的世界 + /// + /// + /// + /// + public static Option Return(T value) + => value is null ? Option.None : Option.Some(value); + + + public static Option Bind(this Option option, Func> binding) + => option.Match(() => new Option(), binding); + + public static IEnumerable Bind(this Option option, Func> binding) + => option.AsEnumerable().Bind(binding); + + + #endregion + + #region 应用函子 + + /// + /// 幺 + /// + /// + /// + /// + public static Option Identity(this Option option) => option; + + public static Option Apply(this Option option, Func, R> apply, Option value) + => option.Match( + None: () => Option.None, + Some: (func) => value.Match( + None: () => Option.None, + Some: (val) => Option.Some(apply(value)))); + + #endregion +} diff --git a/Sanchime.Functional/Core/Extensions/Piper.cs b/Sanchime.Functional/Core/Extensions/Piper.cs new file mode 100644 index 0000000..e525da1 --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/Piper.cs @@ -0,0 +1,16 @@ +namespace Sanchime.Functional.Core.Extensions; + +/// +/// 该类为管道扩展类 +/// +public static class PiperExtension +{ + public static Func Tap(Action action) + => x => { action(x); return x; }; + + public static R Pipe(this T @this, Func func) + => func(@this); + + public static T Pipe(this T input, Action func) + => Tap(func)(input); +} diff --git a/Sanchime.Functional/Core/Extensions/Tuple.cs b/Sanchime.Functional/Core/Extensions/Tuple.cs new file mode 100644 index 0000000..0f7dbb6 --- /dev/null +++ b/Sanchime.Functional/Core/Extensions/Tuple.cs @@ -0,0 +1,10 @@ +namespace Sanchime.Functional.Core.Extensions; + +public static class TupleExtension +{ + public static R Match(this Tuple @this, Func func) + => func(@this.Item1, @this.Item2); + + public static R Match(this ValueTuple @this, Func func) + => func(@this.Item1, @this.Item2); +} diff --git a/Sanchime.Functional/Core/Options/Option.cs b/Sanchime.Functional/Core/Options/Option.cs new file mode 100644 index 0000000..4398612 --- /dev/null +++ b/Sanchime.Functional/Core/Options/Option.cs @@ -0,0 +1,101 @@ +using Sanchime.Functional.Core.Products; + +namespace Sanchime.Functional.Core.Options; + +/// +/// 状态 +/// +public readonly struct None +{ + internal static readonly None Default = new(); +} + +/// +/// 状态 +/// +/// +public readonly struct Some +{ + internal TValue Value { get; } + internal Some(TValue value) => Value = value ?? throw new ArgumentNullException(nameof(value), "不能在Some状态中包装null值, 应该使用None"); +} + +public static class Option +{ + public static None None => None.Default; + public static Option Some(TValue value) => new Some(value); +} + +public readonly struct Option : IEquatable, IEquatable> +{ + + private readonly TValue _value; + + private readonly bool _isSome; + + private bool _isNone => !_isSome; + + private Option(TValue value) + => (_isSome, _value) = (true, value ?? throw new ArgumentNullException(nameof(value))); + + /// + /// 将转换为 + /// + /// + public static implicit operator Option(None _) + => new(); + + /// + /// 将转换为 + /// + /// + public static implicit operator Option(Some some) + => new(some.Value); + + /// + /// 将常规值提升至 + /// + /// + public static implicit operator Option(TValue value) + => value is null ? Option.None : Option.Some(value); + + + internal bool IsSome() => this.Match(() => false, (_) => true); + + internal TValue ValueUnsafe => this.Match(() => throw new InvalidOperationException(), val => val); + + + /// + /// 转换为序列 + /// + /// + public IEnumerable AsEnumerable() + { + if (_isSome) yield return _value; + } + /// + /// 接收两个函数,根据的状态进行求值 + /// + /// + /// None状态 + /// Some状态 + /// + public TResult Match(Func None, Func Some) + => _isSome ? Some(_value) : None(); + public bool Equals(Option other) + => this._isSome == other._isSome + && (this._isNone || this._value!.Equals(other._value)); + + public bool Equals(None _) => _isNone; + + public static bool operator ==(Option option, Option other) => option.Equals(other); + + public static bool operator !=(Option option, Option other) => !(option == other); + + public override string ToString() => _isSome ? $"Some({_value})" : "None"; + + public override bool Equals(object? _) => _isSome; + + public override int GetHashCode() + => _isNone ? 0 : _value!.GetHashCode(); +} diff --git a/Sanchime.Functional/Core/Products/Unit.cs b/Sanchime.Functional/Core/Products/Unit.cs new file mode 100644 index 0000000..37e51af --- /dev/null +++ b/Sanchime.Functional/Core/Products/Unit.cs @@ -0,0 +1,15 @@ +namespace Sanchime.Functional.Core.Products; + +public sealed class Unit +{ + private static readonly Unit _unique = new(); + + public static Unit Value => _unique; + + private Unit() { } + static Unit() { } + + public override int GetHashCode() => 0; + public override bool Equals(object? obj) => this == obj; + public override string ToString() => "()"; +} diff --git a/Sanchime.Functional/Sanchime.Functional.csproj b/Sanchime.Functional/Sanchime.Functional.csproj new file mode 100644 index 0000000..4658cbf --- /dev/null +++ b/Sanchime.Functional/Sanchime.Functional.csproj @@ -0,0 +1,9 @@ + + + + net7.0 + enable + enable + + + diff --git a/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.deps.json b/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.deps.json new file mode 100644 index 0000000..82c9819 --- /dev/null +++ b/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v7.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v7.0": { + "Sanchime.Functional/1.0.0": { + "runtime": { + "Sanchime.Functional.dll": {} + } + } + } + }, + "libraries": { + "Sanchime.Functional/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.dll b/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.dll new file mode 100644 index 0000000..bc1e7f1 Binary files /dev/null and b/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.dll differ diff --git a/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.pdb b/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.pdb new file mode 100644 index 0000000..4059570 Binary files /dev/null and b/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.pdb differ diff --git a/Sanchime.Functional/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/Sanchime.Functional/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs new file mode 100644 index 0000000..88ecc6e --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = "")] diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfo.cs b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfo.cs new file mode 100644 index 0000000..4feb04d --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Sanchime.Functional")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Sanchime.Functional")] +[assembly: System.Reflection.AssemblyTitleAttribute("Sanchime.Functional")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// 由 MSBuild WriteCodeFragment 类生成。 + diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfoInputs.cache b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfoInputs.cache new file mode 100644 index 0000000..54ae77e --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +1132520a32de11ff302b7fe56da971f09e88fb78 diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GeneratedMSBuildEditorConfig.editorconfig b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..73b922c --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net7.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Sanchime.Functional +build_property.ProjectDir = /home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/ diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GlobalUsings.g.cs b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.assets.cache b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.assets.cache new file mode 100644 index 0000000..60e27cf Binary files /dev/null and b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.assets.cache differ diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.AssemblyReference.cache b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.AssemblyReference.cache new file mode 100644 index 0000000..e22e2d0 Binary files /dev/null and b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.AssemblyReference.cache differ diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.CoreCompileInputs.cache b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..bc08b3b --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +8413862575563783b7af3a2ce6adc70e843ad403 diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.FileListAbsolute.txt b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..caebe76 --- /dev/null +++ b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.deps.json +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.dll +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/bin/Debug/net7.0/Sanchime.Functional.pdb +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.AssemblyReference.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.GeneratedMSBuildEditorConfig.editorconfig +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfoInputs.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.AssemblyInfo.cs +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.csproj.CoreCompileInputs.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.dll +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/refint/Sanchime.Functional.dll +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.pdb +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/Debug/net7.0/ref/Sanchime.Functional.dll diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.dll b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.dll new file mode 100644 index 0000000..bc1e7f1 Binary files /dev/null and b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.dll differ diff --git a/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.pdb b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.pdb new file mode 100644 index 0000000..4059570 Binary files /dev/null and b/Sanchime.Functional/obj/Debug/net7.0/Sanchime.Functional.pdb differ diff --git a/Sanchime.Functional/obj/Debug/net7.0/ref/Sanchime.Functional.dll b/Sanchime.Functional/obj/Debug/net7.0/ref/Sanchime.Functional.dll new file mode 100644 index 0000000..4296c3b Binary files /dev/null and b/Sanchime.Functional/obj/Debug/net7.0/ref/Sanchime.Functional.dll differ diff --git a/Sanchime.Functional/obj/Debug/net7.0/refint/Sanchime.Functional.dll b/Sanchime.Functional/obj/Debug/net7.0/refint/Sanchime.Functional.dll new file mode 100644 index 0000000..4296c3b Binary files /dev/null and b/Sanchime.Functional/obj/Debug/net7.0/refint/Sanchime.Functional.dll differ diff --git a/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.dgspec.json b/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.dgspec.json new file mode 100644 index 0000000..1000666 --- /dev/null +++ b/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.dgspec.json @@ -0,0 +1,60 @@ +{ + "format": 1, + "restore": { + "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj": {} + }, + "projects": { + "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj", + "projectName": "Sanchime.Functional", + "projectPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj", + "packagesPath": "/home/sanchime/.nuget/packages/", + "outputPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/sanchime/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/home/sanchime/dotnet/sdk/7.0.100-preview.3.22179.4/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.g.props b/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.g.props new file mode 100644 index 0000000..87a059e --- /dev/null +++ b/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/sanchime/.nuget/packages/ + /home/sanchime/.nuget/packages/ + PackageReference + 6.2.0 + + + + + \ No newline at end of file diff --git a/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.g.targets b/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Sanchime.Functional/obj/Sanchime.Functional.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Sanchime.Functional/obj/project.assets.json b/Sanchime.Functional/obj/project.assets.json new file mode 100644 index 0000000..86c04d2 --- /dev/null +++ b/Sanchime.Functional/obj/project.assets.json @@ -0,0 +1,65 @@ +{ + "version": 3, + "targets": { + "net7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net7.0": [] + }, + "packageFolders": { + "/home/sanchime/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj", + "projectName": "Sanchime.Functional", + "projectPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj", + "packagesPath": "/home/sanchime/.nuget/packages/", + "outputPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/sanchime/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/home/sanchime/dotnet/sdk/7.0.100-preview.3.22179.4/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Sanchime.Functional/obj/project.nuget.cache b/Sanchime.Functional/obj/project.nuget.cache new file mode 100644 index 0000000..fe74c1a --- /dev/null +++ b/Sanchime.Functional/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "SFlPh821qi4GkLKqdQvlF3w70bJfiHdxPTcWjQz6sHNJrETehv6TShnFcPyYahMOhHW73n97cu5NcnOrJNHiSw==", + "success": true, + "projectFilePath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Functional/Sanchime.Functional.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/Sanchime.Test/Program.cs b/Sanchime.Test/Program.cs new file mode 100644 index 0000000..e77be9a --- /dev/null +++ b/Sanchime.Test/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World of csharp!"); diff --git a/Sanchime.Test/Sanchime.Test.csproj b/Sanchime.Test/Sanchime.Test.csproj new file mode 100644 index 0000000..d439800 --- /dev/null +++ b/Sanchime.Test/Sanchime.Test.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + + diff --git a/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test new file mode 100755 index 0000000..b5c0d49 Binary files /dev/null and b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test differ diff --git a/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.deps.json b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.deps.json new file mode 100644 index 0000000..2b46a58 --- /dev/null +++ b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v7.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v7.0": { + "Sanchime.Test/1.0.0": { + "runtime": { + "Sanchime.Test.dll": {} + } + } + } + }, + "libraries": { + "Sanchime.Test/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.dll b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.dll new file mode 100644 index 0000000..97f4aad Binary files /dev/null and b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.dll differ diff --git a/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.pdb b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.pdb new file mode 100644 index 0000000..78f0c98 Binary files /dev/null and b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.pdb differ diff --git a/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.runtimeconfig.json b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.runtimeconfig.json new file mode 100644 index 0000000..a25f07b --- /dev/null +++ b/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net7.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "7.0.0-preview.3.22175.4" + } + } +} \ No newline at end of file diff --git a/Sanchime.Test/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/Sanchime.Test/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs new file mode 100644 index 0000000..88ecc6e --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = "")] diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfo.cs b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfo.cs new file mode 100644 index 0000000..3f8f8a9 --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Sanchime.Test")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Sanchime.Test")] +[assembly: System.Reflection.AssemblyTitleAttribute("Sanchime.Test")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfoInputs.cache b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfoInputs.cache new file mode 100644 index 0000000..0bb161d --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +73960f945a70a6a9d9c002c9badd09c9c5bbdaaa diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GeneratedMSBuildEditorConfig.editorconfig b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..7a1b7ee --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net7.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Sanchime.Test +build_property.ProjectDir = /home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/ diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GlobalUsings.g.cs b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.assets.cache b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.assets.cache new file mode 100644 index 0000000..d72bea0 Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.assets.cache differ diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.AssemblyReference.cache b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.AssemblyReference.cache new file mode 100644 index 0000000..39ce248 Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.AssemblyReference.cache differ diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.CoreCompileInputs.cache b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..d885527 --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +e44050b4489f46bba21644af8321e43704d64621 diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.FileListAbsolute.txt b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b3c042a --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.AssemblyReference.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.GeneratedMSBuildEditorConfig.editorconfig +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfoInputs.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.AssemblyInfo.cs +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.csproj.CoreCompileInputs.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.deps.json +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.runtimeconfig.json +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.dll +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/bin/Debug/net7.0/Sanchime.Test.pdb +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.dll +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/refint/Sanchime.Test.dll +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.pdb +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.genruntimeconfig.cache +/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/Debug/net7.0/ref/Sanchime.Test.dll diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.dll b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.dll new file mode 100644 index 0000000..97f4aad Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.dll differ diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.genruntimeconfig.cache b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.genruntimeconfig.cache new file mode 100644 index 0000000..8efcc82 --- /dev/null +++ b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.genruntimeconfig.cache @@ -0,0 +1 @@ +33a4f258a1f2d4d1d0e58651d07533895907fd92 diff --git a/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.pdb b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.pdb new file mode 100644 index 0000000..78f0c98 Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/Sanchime.Test.pdb differ diff --git a/Sanchime.Test/obj/Debug/net7.0/apphost b/Sanchime.Test/obj/Debug/net7.0/apphost new file mode 100755 index 0000000..b5c0d49 Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/apphost differ diff --git a/Sanchime.Test/obj/Debug/net7.0/ref/Sanchime.Test.dll b/Sanchime.Test/obj/Debug/net7.0/ref/Sanchime.Test.dll new file mode 100644 index 0000000..252538e Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/ref/Sanchime.Test.dll differ diff --git a/Sanchime.Test/obj/Debug/net7.0/refint/Sanchime.Test.dll b/Sanchime.Test/obj/Debug/net7.0/refint/Sanchime.Test.dll new file mode 100644 index 0000000..252538e Binary files /dev/null and b/Sanchime.Test/obj/Debug/net7.0/refint/Sanchime.Test.dll differ diff --git a/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.dgspec.json b/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.dgspec.json new file mode 100644 index 0000000..f3f1603 --- /dev/null +++ b/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.dgspec.json @@ -0,0 +1,60 @@ +{ + "format": 1, + "restore": { + "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj": {} + }, + "projects": { + "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj", + "projectName": "Sanchime.Test", + "projectPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj", + "packagesPath": "/home/sanchime/.nuget/packages/", + "outputPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/sanchime/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/home/sanchime/dotnet/sdk/7.0.100-preview.3.22179.4/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.g.props b/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.g.props new file mode 100644 index 0000000..87a059e --- /dev/null +++ b/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/sanchime/.nuget/packages/ + /home/sanchime/.nuget/packages/ + PackageReference + 6.2.0 + + + + + \ No newline at end of file diff --git a/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.g.targets b/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Sanchime.Test/obj/Sanchime.Test.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Sanchime.Test/obj/project.assets.json b/Sanchime.Test/obj/project.assets.json new file mode 100644 index 0000000..1eb8a73 --- /dev/null +++ b/Sanchime.Test/obj/project.assets.json @@ -0,0 +1,65 @@ +{ + "version": 3, + "targets": { + "net7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net7.0": [] + }, + "packageFolders": { + "/home/sanchime/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj", + "projectName": "Sanchime.Test", + "projectPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj", + "packagesPath": "/home/sanchime/.nuget/packages/", + "outputPath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/sanchime/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/home/sanchime/dotnet/sdk/7.0.100-preview.3.22179.4/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Sanchime.Test/obj/project.nuget.cache b/Sanchime.Test/obj/project.nuget.cache new file mode 100644 index 0000000..643b0a5 --- /dev/null +++ b/Sanchime.Test/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "hVqrEND44Ni0Uq1FZGL0O3sgJV3YmZOJl7DfdliEudDkWFYX9hnjF3tXqhakgknR/DATzN8uFWrT5340iUMlig==", + "success": true, + "projectFilePath": "/home/sanchime/桌面/Program/C#/Sanchime/Sanchime.Test/Sanchime.Test.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/Sanchime.sln b/Sanchime.sln new file mode 100644 index 0000000..fecf226 --- /dev/null +++ b/Sanchime.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30114.105 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sanchime.Test", "Sanchime.Test\Sanchime.Test.csproj", "{852F212D-00AC-45B8-84FB-A97E0E711317}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sanchime.Functional", "Sanchime.Functional\Sanchime.Functional.csproj", "{DF48AFE2-CD1B-4BCE-83EF-DA8BDA104069}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {852F212D-00AC-45B8-84FB-A97E0E711317}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {852F212D-00AC-45B8-84FB-A97E0E711317}.Debug|Any CPU.Build.0 = Debug|Any CPU + {852F212D-00AC-45B8-84FB-A97E0E711317}.Release|Any CPU.ActiveCfg = Release|Any CPU + {852F212D-00AC-45B8-84FB-A97E0E711317}.Release|Any CPU.Build.0 = Release|Any CPU + {DF48AFE2-CD1B-4BCE-83EF-DA8BDA104069}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF48AFE2-CD1B-4BCE-83EF-DA8BDA104069}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF48AFE2-CD1B-4BCE-83EF-DA8BDA104069}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF48AFE2-CD1B-4BCE-83EF-DA8BDA104069}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal