VSNDK.DebugEngine.VariableInfo.create C# (CSharp) Method

create() public static method

Call the right VariableInfo constructor for locals and arguments.
public static create ( string name, string type, string value, EventDispatcher dispatcher ) : VariableInfo
name string The name of the variable.
type string The data type of the variable.
value string The value of the variable.
dispatcher EventDispatcher The event dispatcher.
return VariableInfo
        public static VariableInfo create(string name, string type, string value, EventDispatcher dispatcher)
        {
            VariableInfo newVar = new VariableInfo(name, type, "", value, dispatcher, null, null);
            return newVar;
        }