Skip to content

Conversation

@Kostornoj-Dmitrij
Copy link

No description provided.

}
catch(Exception ex)
{
return Result.Fail<IContainer>($"Failed to configure DI container: {ex.Message}");

This comment was marked as resolved.


public Result<CommandLineOptions> Validate()
{
if (ImageWidth < 0 || ImageHeight < 0)

This comment was marked as resolved.

private static void RunApplication(CommandLineOptions commandLineOptions)
{
var validationResult = commandLineOptions.Validate();
if (!validationResult.IsSuccess)

This comment was marked as resolved.


private static void RunApplication(CommandLineOptions commandLineOptions)
{
var validationResult = commandLineOptions.Validate();

This comment was marked as resolved.

builder.RegisterType<TagsCloudMaker>();

builder.RegisterType<TextHandlerProperties>().WithParameters([
new NamedParameter("pathToBoringWords", options.PathToBoringWords),

This comment was marked as resolved.

var layoutProperties = c.Resolve<CircularLayoutProperties>();
return CircularLayout.Create(layoutProperties).GetValueOrThrow();
}).As<ILayout>();
builder.RegisterType<CircularCloudLayouter>().As<ICircularCloudLayouter>();

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