-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12c2206
commit afcc578
Showing
20 changed files
with
175 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.100", | ||
"version": "7.0.304", | ||
"rollForward": "latestMinor", | ||
"allowPrerelease": true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
public TYPENAME(BASE_TYPENAME value) | ||
| ||
public TYPENAME(BASE_TYPENAME value) | ||
{ | ||
[CTOR_VALUE] | ||
} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
src/Strongly/Templates/NullableString/NullableString_IParsable.cs
This file was deleted.
Oops, something went wrong.
15 changes: 11 additions & 4 deletions
15
src/Strongly/Templates/NullableString/NullableString_Parsable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
public static TYPENAME Parse(string value) => | ||
| ||
public static TYPENAME Parse(string? value) => | ||
new TYPENAME(value?.Trim()); | ||
|
||
public static bool TryParse( | ||
[System.Diagnostics.CodeAnalysis.NotNullWhen(true)]string value, | ||
[System.Diagnostics.CodeAnalysis.NotNullWhen(true)]string? value, | ||
out TYPENAME result) | ||
{ | ||
result = new TYPENAME(value?.Trim()); | ||
return true; | ||
} | ||
|
||
|
||
|
||
public static TYPENAME Parse(string? value, System.IFormatProvider? provider) => Parse(value); | ||
|
||
public static bool TryParse( | ||
[System.Diagnostics.CodeAnalysis.NotNullWhen(true)] | ||
string? value, | ||
System.IFormatProvider? provider, | ||
out TYPENAME result) => TryParse(value, out result); | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.