diff --git a/src/Stateless/Reflection/DynamicTransitionInfo.cs b/src/Stateless/Reflection/DynamicTransitionInfo.cs
index a8179256..7b2cc6fb 100644
--- a/src/Stateless/Reflection/DynamicTransitionInfo.cs
+++ b/src/Stateless/Reflection/DynamicTransitionInfo.cs
@@ -68,16 +68,7 @@ public class DynamicTransitionInfo : TransitionInfo
///
public DynamicStateInfos PossibleDestinationStates { get; private set; }
- ///
- /// Creates a new instance of .
- ///
- /// The trigger type.
- /// The trigger associated with this transition.
- /// The guard conditions associated with this transition.
- /// The destination selector associated with this transition.
- /// The possible destination states.
- ///
- public static DynamicTransitionInfo Create(TTrigger trigger, IEnumerable guards,
+ internal static DynamicTransitionInfo Create(TTrigger trigger, IEnumerable guards,
InvocationInfo selector, DynamicStateInfos possibleStates)
{
var transition = new DynamicTransitionInfo
diff --git a/src/Stateless/StateConfiguration.Async.cs b/src/Stateless/StateConfiguration.Async.cs
index 53a8c918..e409ea40 100644
--- a/src/Stateless/StateConfiguration.Async.cs
+++ b/src/Stateless/StateConfiguration.Async.cs
@@ -9,23 +9,6 @@ public partial class StateMachine
{
public partial class StateConfiguration
{
- ///
- /// Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
- ///
- ///
- /// The accepted trigger
- /// Function that must return true in order for the trigger to be accepted.
- /// The asynchronous action performed by the internal transition
- ///
- [Obsolete("Use InternalTransitionAsyncIf(TTrigger, Func, Func) instead.")]
- public StateConfiguration InternalTransitionAsyncIf(TTrigger trigger, Func guard, Func internalAction)
- {
- if (internalAction == null) throw new ArgumentNullException(nameof(internalAction));
-
- _representation.AddTriggerBehaviour(new InternalTriggerBehaviour.Async(trigger, guard, (t, args) => internalAction(t)));
- return this;
- }
-
///
/// Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
///
@@ -88,19 +71,6 @@ public StateConfiguration InternalTransitionAsyncIf(Trigger
return this;
}
- ///
- /// Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
- ///
- ///
- /// The accepted trigger
- /// The asynchronous action performed by the internal transition
- ///
- [Obsolete("Use InternalTransitionAsync(TTrigger, Func) instead.")]
- public StateConfiguration InternalTransitionAsync(TTrigger trigger, Func internalAction)
- {
- return InternalTransitionAsyncIf(trigger, () => true, internalAction);
- }
-
///
/// Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
///
diff --git a/src/Stateless/StateConfiguration.cs b/src/Stateless/StateConfiguration.cs
index beec0168..700f75e2 100644
--- a/src/Stateless/StateConfiguration.cs
+++ b/src/Stateless/StateConfiguration.cs
@@ -48,27 +48,27 @@ public StateConfiguration Permit(TTrigger trigger, TState destinationState)
///
/// Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
///
- ///
- ///
+ /// The accepted trigger
+ /// The action performed by the internal transition
///
- public StateConfiguration InternalTransition(TTrigger trigger, Action entryAction)
+ public StateConfiguration InternalTransition(TTrigger trigger, Action internalAction)
{
- return InternalTransitionIf(trigger, t => true, entryAction);
+ return InternalTransitionIf(trigger, t => true, internalAction);
}
///
/// Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
///
- ///
+ /// The accepted trigger
/// Function that must return true in order for the trigger to be accepted.
- ///
+ /// The action performed by the internal transition
/// A description of the guard condition
///
- public StateConfiguration InternalTransitionIf(TTrigger trigger, Func