Exemple #1
0
        private static string ReadContent(RazorSourceDocument razorSourceDocument)
        {
            var buffer = new char[razorSourceDocument.Length];

            razorSourceDocument.CopyTo(0, buffer, 0, buffer.Length);

            return(new string(buffer));
        }
Exemple #2
0
 public override void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)
 => _innerSourceDocument.CopyTo(sourceIndex, destination, destinationIndex, count);