ExoModel.ModelEventScope.OnExit C# (CSharp) Méthode

OnExit() public static méthode

Causes the specified action to be performed when the outermost model event scope has exited, or performs the action immediately if there is not a current scope.
public static OnExit ( System.Action action ) : void
action System.Action
Résultat void
        public static void OnExit(Action action)
        {
            if (current == null)
                action();
            else
                current.Exited += (sender, e) => action();
        }