CQRSalad.EventSourcing.T4Extensions.Compile C# (CSharp) Метод

Compile() публичный статический Метод

public static Compile ( this template, Type aggregateType ) : string
template this
aggregateType System.Type
Результат string
        public static string Compile(this ApplicationServiceTemplate template, Type aggregateType)
        {
            template.Session = new Dictionary<string, object>() { { "AggregateType", aggregateType } };
            template.Initialize();

            return template.TransformText().Replace("\n", "").Replace("\r", "").Replace("\t", "");
        }
    }
T4Extensions