Bevisuali.UX.ExtSerialization.ToRandomVariable C# (CSharp) Method

ToRandomVariable() public static method

public static ToRandomVariable ( this json0 ) : RandomVariable
json0 this
return RandomVariable
        public static RandomVariable ToRandomVariable(this JToken json0)
        {
            JObject json = (JObject)json0;
            return new RandomVariable(
                json["name"].Value<string>(),
                json["space"].ToRandomVariableSpace(),
                json["distributionSet"].ToDistributionSet());
        }