Append() private method

private Append ( [ value, [ resolver = null ) : FormatChunk
value [
resolver [
return FormatChunk
Exemplo n.º 1
0
        public static IEnumerable <FormatChunk> Parse([NotNull] string value, [CanBeNull] IResolvable resolver = null)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            FormatChunk fc = new FormatChunk();

            fc.Append(
                value,
                resolver);
            return(fc.Children);
        }
Exemplo n.º 2
0
        public static IEnumerable<FormatChunk> Parse([NotNull] string value, [CanBeNull] IResolvable resolver = null)
        {
            if (value == null) throw new ArgumentNullException("value");

            FormatChunk fc = new FormatChunk();
            fc.Append(
                value,
                resolver);
            return fc.Children;
        }