File tree Expand file tree Collapse file tree
ManagedCode.Communication Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <PackageLicenseExpression >MIT</PackageLicenseExpression >
1414 <PackageReadmeFile >README.md</PackageReadmeFile >
1515 <Product >Managed Code - Communication</Product >
16- <Version >0.0.5 </Version >
17- <PackageVersion >0.0.5 </PackageVersion >
16+ <Version >0.0.6 </Version >
17+ <PackageVersion >0.0.6 </PackageVersion >
1818 </PropertyGroup >
1919 <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
2020 <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ public static Result<T> Fail<T>(Exception? error)
4646 return new Result < T > ( error ) ;
4747 }
4848
49- public static Result < T > Fail < T > ( T result , Exception ? error )
50- {
51- return new Result < T > ( false , result ) ;
52- }
53-
5449 public static Result Fail ( )
5550 {
5651 return new Result ( null ) ;
Original file line number Diff line number Diff line change @@ -29,4 +29,9 @@ public static Result<T> Succeed(T content)
2929 {
3030 return new Result < T > ( null ) ;
3131 }
32+
33+ public new static Result < T > Fail ( Exception ? error )
34+ {
35+ return new Result < T > ( error ) ;
36+ }
3237}
You can’t perform that action at this time.
0 commit comments