System.Data.Entity.SqlServer.SqlServerMigrationSqlGenerator.Indent C# (CSharp) Метод

Indent() приватный статический Метод

private static Indent ( string s, string indentation ) : string
s string
indentation string
Результат string
        private static string Indent(string s, string indentation)
        {
            DebugCheck.NotEmpty(s);
            DebugCheck.NotNull(s);

            return new Regex(@"\r?\n *").Replace(s, Environment.NewLine + indentation);
        }