diff --git a/src/common/Elsa.Features/Services/IModule.cs b/src/common/Elsa.Features/Services/IModule.cs index 22af7e7c0..48d45795a 100644 --- a/src/common/Elsa.Features/Services/IModule.cs +++ b/src/common/Elsa.Features/Services/IModule.cs @@ -17,6 +17,16 @@ public interface IModule /// A dictionary into which features can stash away values for later use. /// IDictionary Properties { get; } + + /// + /// Returns true if a feature of the specified type has been configured. + /// + bool HasFeature() where T : class, IFeature; + + /// + /// Returns true if a feature of the specified type has been configured. + /// + bool HasFeature(Type featureType); /// /// Creates and configures a feature of the specified type.