System.Activities.Statements.InternalState.InternalState C# (CSharp) Method

InternalState() public method

public InternalState ( System.Activities.Statements.State state ) : System
state System.Activities.Statements.State
return System
        public InternalState(State state)
        {
            this.state = state;
            this.DisplayName = state.DisplayName;

            this.onEntryComplete = new CompletionCallback(this.OnEntryComplete);
            this.onTriggerComplete = new CompletionCallback(this.OnTriggerComplete);
            this.onConditionComplete = new CompletionCallback<bool>(this.OnConditionComplete);
            this.onExitComplete = new CompletionCallback(this.OnExitComplete);

            this.evaluateConditionCallback = new BookmarkCallback(this.StartEvaluateCondition);

            this.currentRunningTriggers = new Variable<int>();
            this.isExiting = new Variable<bool>();
            this.evaluateConditionBookmark = new Variable<Bookmark>();
            this.internalTransitions = new Collection<InternalTransition>();
            this.triggerInternalTransitionMapping = new Dictionary<Activity, InternalTransition>();
        }