public BuildInfo <T> On(string methodName) { CurrentMethod = new MethodInformation { Name = methodName }; return(this); }
public BuildInfo <T> Mapping <TR>(Func <TR, object> func) { MethodInformation.Delegates.Add(func); CurrentMethod.Mapping = new MappingAttribute(typeof(TR)); CurrentMethod = BuilderHelper.CompleteMethodInfo(typeof(T), CurrentMethod); MethodInformations.Add(CurrentMethod); return(this); }