Composite.C1Console.Trees.ActionNode.Deserialize C# (CSharp) Method

Deserialize() public static method

public static Deserialize ( string serializedString ) : ActionNode
serializedString string
return ActionNode
        public static ActionNode Deserialize(string serializedString)
        {
            Dictionary<string, string> serializedValueCollection = StringConversionServices.ParseKeyValueCollection(serializedString);

            return Deserialize(serializedValueCollection);
        }

Same methods

ActionNode::Deserialize ( string>.Dictionary serializedValueCollection, bool removeEntiresFromCollection = false ) : ActionNode

Usage Example

Ejemplo n.º 1
0
        public FlowToken Execute(EntityToken entityToken, ActionToken actionToken, FlowControllerServicesContainer flowControllerServicesContainer)
        {
            MessageBoxActionNodeActionToken messageBoxActionNodeActionToken = (MessageBoxActionNodeActionToken)actionToken;

            MessageBoxActionNode messageBoxActionNode = (MessageBoxActionNode)ActionNode.Deserialize(messageBoxActionNodeActionToken.SerializedActionNode);

            IManagementConsoleMessageService managementConsoleMessageService = flowControllerServicesContainer.GetService <IManagementConsoleMessageService>();

            managementConsoleMessageService.ShowMessage(
                messageBoxActionNode.DialogType,
                messageBoxActionNodeActionToken.Title,
                messageBoxActionNodeActionToken.Message);

            return(null);
        }
All Usage Examples Of Composite.C1Console.Trees.ActionNode::Deserialize