コード例 #1
0
        private DotNetBuilder(BuilderOptions options, string?dotnetPath, CancellationToken cancellationToken = default)
        {
            _options    = options;
            _dotnetPath = dotnetPath ?? string.Empty;

            InitTargets(cancellationToken);
        }
コード例 #2
0
 public static DotNetBuilder CreatBuilderAsync(BuilderOptions options, CancellationToken cancellationToken = default)
 {
     return(new DotNetBuilder(options, TryFindDotNetExePath(), cancellationToken));
 }