Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Шевелев Георгий #180

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Crazy1beatch
Copy link

No description provided.

@@ -0,0 +1,124 @@
namespace TagCloudResult
{
public class None

This comment was marked as resolved.

Comment on lines 16 to 17
}
public static implicit operator Result<T>(T v)

This comment was marked as resolved.

Comment on lines 42 to 43
}
public static Result<None> Ok()

This comment was marked as resolved.

{
public static void Main(string[] args)
{
var settings = Parser.Default.ParseArguments<Settings>(args).Value;

This comment was marked as resolved.

Comment on lines 10 to 11
var colorResult = Result.Of(() => Color.FromName(name));
return !colorResult.IsSuccess

This comment was marked as resolved.

var backColorResult = GetColorFromName(settings.BackColor)
.RefineError("Wrong background color");
if (!backColorResult.IsSuccess)
return Result.Fail<Image>(backColorResult.Error);

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants