Exemplo n.º 1
0
 public BuildInfo <T> On(string methodName)
 {
     CurrentMethod = new MethodInformation {
         Name = methodName
     };
     return(this);
 }
Exemplo n.º 2
0
 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);
 }