mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET: Fix some more static analysis diagnostics (#1025)
* S1006 * S2219 * S3236 * S3260 * S1125 * IDE0063 * IDE0062 * IDE0028
This commit is contained in:
@@ -12,7 +12,7 @@ internal sealed class WorkflowThread : AgentThread
|
||||
public WorkflowThread(string workflowId, string? workflowName, string runId)
|
||||
{
|
||||
this.MessageStore = new();
|
||||
this.RunId = Throw.IfNullOrEmpty(runId, nameof(runId));
|
||||
this.RunId = Throw.IfNullOrEmpty(runId);
|
||||
}
|
||||
|
||||
public WorkflowThread(JsonElement serializedThread, JsonSerializerOptions? jsonSerializerOptions = null)
|
||||
|
||||
Reference in New Issue
Block a user