System.Yaml.YamlScalar.YamlScalar C# (CSharp) Méthode

YamlScalar() public méthode

Initialize a bool node that has value as its content.
public YamlScalar ( bool value ) : System.Text.RegularExpressions
value bool
Résultat System.Text.RegularExpressions
        public YamlScalar(bool value)
        {
            Tag = ExpandTag("!!bool");
            Value = YamlNode.DefaultConfig.TypeConverter.ConvertToString(value);
        }

Same methods

YamlScalar::YamlScalar ( ) : System.Text.RegularExpressions
YamlScalar::YamlScalar ( DateTime value ) : System.Text.RegularExpressions
YamlScalar::YamlScalar ( double value ) : System.Text.RegularExpressions
YamlScalar::YamlScalar ( int value ) : System.Text.RegularExpressions
YamlScalar::YamlScalar ( string value ) : System.Text.RegularExpressions
YamlScalar::YamlScalar ( string tag, string value ) : System.Text.RegularExpressions