diff --git a/src/modules/Elsa.Workflows.Management/Features/WorkflowManagementFeature.cs b/src/modules/Elsa.Workflows.Management/Features/WorkflowManagementFeature.cs index e703e9444..b9a04daee 100644 --- a/src/modules/Elsa.Workflows.Management/Features/WorkflowManagementFeature.cs +++ b/src/modules/Elsa.Workflows.Management/Features/WorkflowManagementFeature.cs @@ -1,6 +1,6 @@ using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using System.Dynamic; -using System.IO.Compression; using System.Reflection; using Elsa.Common.Contracts; using Elsa.Common.Features; @@ -62,8 +62,10 @@ public class WorkflowManagementFeature : FeatureBase new(typeof(object), PrimitivesCategory, "The root class for all object in the CLR System."), new(typeof(string), PrimitivesCategory, "Represents a static string of characters."), new(typeof(bool), PrimitivesCategory, "Represents a true or false value."), + new(typeof(int), PrimitivesCategory, "A 32 bit integer."), new(typeof(long), PrimitivesCategory, "A 64 bit integer."), - new(typeof(double), PrimitivesCategory, "A real number with double precision."), + new(typeof(float), PrimitivesCategory, "A 32 bit floating point number."), + new(typeof(double), PrimitivesCategory, "A 64 bit floating point number."), new(typeof(decimal), PrimitivesCategory, "A decimal number."), new(typeof(Guid), PrimitivesCategory, "Represents a Globally Unique Identifier."), new(typeof(DateTime), PrimitivesCategory, "A value type that represents a date and time."), @@ -91,6 +93,7 @@ public class WorkflowManagementFeature : FeatureBase /// /// Adds all types implementing to the system. /// + [RequiresUnreferencedCode("The assembly containing the specified marker type will be scanned for activity types.")] public WorkflowManagementFeature AddActivitiesFrom() { var activityTypes = typeof(TMarker).Assembly.GetExportedTypes() @@ -157,6 +160,7 @@ public class WorkflowManagementFeature : FeatureBase } /// + [RequiresUnreferencedCode("The assembly containing the specified marker type will be scanned for activity types.")] public override void Configure() { AddActivitiesFrom();