-
Notifications
You must be signed in to change notification settings - Fork 229
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
Косторной Дмитрий #200
base: master
Are you sure you want to change the base?
Косторной Дмитрий #200
Conversation
} | ||
catch(Exception ex) | ||
{ | ||
return Result.Fail<IContainer>($"Failed to configure DI container: {ex.Message}"); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
||
public Result<CommandLineOptions> Validate() | ||
{ | ||
if (ImageWidth < 0 || ImageHeight < 0) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
TagsCloudVisualization/Program.cs
Outdated
private static void RunApplication(CommandLineOptions commandLineOptions) | ||
{ | ||
var validationResult = commandLineOptions.Validate(); | ||
if (!validationResult.IsSuccess) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
TagsCloudVisualization/Program.cs
Outdated
|
||
private static void RunApplication(CommandLineOptions commandLineOptions) | ||
{ | ||
var validationResult = commandLineOptions.Validate(); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
builder.RegisterType<TagsCloudMaker>(); | ||
|
||
builder.RegisterType<TextHandlerProperties>().WithParameters([ | ||
new NamedParameter("pathToBoringWords", options.PathToBoringWords), |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
var layoutProperties = c.Resolve<CircularLayoutProperties>(); | ||
return CircularLayout.Create(layoutProperties).GetValueOrThrow(); | ||
}).As<ILayout>(); | ||
builder.RegisterType<CircularCloudLayouter>().As<ICircularCloudLayouter>(); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
No description provided.