mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET: Re-enable ImplicitUsings in samples and clean up NoWarns (#1060)
* Re-enable ImplicitUsings in samples and clean up NoWarns * Fix dotnet format * More dotnet format * More dotnet format --------- Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
This commit is contained in:
+4
-4
@@ -31,13 +31,13 @@ public sealed class DeclarativeCodeGenTest(ITestOutputHelper output) : WorkflowT
|
||||
|
||||
protected override async Task RunAndVerifyAsync<TInput>(Testcase testcase, string workflowPath, DeclarativeWorkflowOptions workflowOptions)
|
||||
{
|
||||
const string workflowNamespace = "Test.WorkflowProviders";
|
||||
const string workflowPrefix = "Test";
|
||||
const string WorkflowNamespace = "Test.WorkflowProviders";
|
||||
const string WorkflowPrefix = "Test";
|
||||
|
||||
string workflowProviderCode = DeclarativeWorkflowBuilder.Eject(workflowPath, DeclarativeWorkflowLanguage.CSharp, workflowNamespace, workflowPrefix);
|
||||
string workflowProviderCode = DeclarativeWorkflowBuilder.Eject(workflowPath, DeclarativeWorkflowLanguage.CSharp, WorkflowNamespace, WorkflowPrefix);
|
||||
try
|
||||
{
|
||||
WorkflowEvents workflowEvents = await WorkflowHarness.RunCodeAsync(workflowProviderCode, $"{workflowPrefix}WorkflowProvider", workflowNamespace, workflowOptions, (TInput)GetInput<TInput>(testcase));
|
||||
WorkflowEvents workflowEvents = await WorkflowHarness.RunCodeAsync(workflowProviderCode, $"{WorkflowPrefix}WorkflowProvider", WorkflowNamespace, workflowOptions, (TInput)GetInput<TInput>(testcase));
|
||||
foreach (ExecutorEvent invokeEvent in workflowEvents.ExecutorInvokeEvents)
|
||||
{
|
||||
this.Output.WriteLine($"EXEC: {invokeEvent.ExecutorId}");
|
||||
|
||||
Reference in New Issue
Block a user