Hide a couple of warnings
This commit is contained in:
parent
aff01d104a
commit
3ab0c94f94
|
|
@ -39,7 +39,7 @@ namespace Elsa.Activities.Http
|
|||
var response = _httpContextAccessor.HttpContext.Response;
|
||||
|
||||
if (response.HasStarted)
|
||||
return Fault(T["Response has already started"]);
|
||||
return Fault(T["Response has already started"]!);
|
||||
|
||||
return new RedirectResult(_httpContextAccessor, Location, Permanent);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Elsa.Services.Models
|
|||
}
|
||||
|
||||
public WorkflowExecutionContext WorkflowExecutionContext { get; }
|
||||
public Type ContextType => WorkflowExecutionContext.WorkflowBlueprint.ContextOptions!.ContextType;
|
||||
public Type ContextType => WorkflowExecutionContext.WorkflowBlueprint.ContextOptions!.ContextType!;
|
||||
public string ContextId => WorkflowExecutionContext.WorkflowInstance.ContextId!;
|
||||
public object Context => WorkflowExecutionContext.WorkflowContext!;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ namespace Elsa.Services
|
|||
continue;
|
||||
}
|
||||
|
||||
var provider = new ExpressionActivityPropertyValueProvider(property.Expression, property.Syntax, prop.PropertyType);
|
||||
var provider = new ExpressionActivityPropertyValueProvider(property.Expression!, property.Syntax!, prop.PropertyType);
|
||||
propertyProviders.AddProvider(activityDefinition.ActivityId, property.Name, provider);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@ namespace ElsaDashboard.Application.Options
|
|||
{
|
||||
public class ElsaDashboardOptions
|
||||
{
|
||||
public Uri ElsaServerUrl { get; set; }
|
||||
public Uri ElsaServerUrl { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue