Example #1
0
 /// <summary>
 /// Goes through the list of conventions registered and create initial configuration.
 /// </summary>
 /// <param name="registrableObject">The registrable object.</param>
 private static void InitialiseConventions(IRegistrableObject registrableObject)
 {
     foreach (ICanConfigureConvention convention in
              _conventions.Where(convention => convention.IsApplicableToType(registrableObject.DomainObjectType)))
     {
         registrableObject.AddConvention(convention.GetConventionApplicant());
     }
 }
Example #2
0
 public static void SetTheBinding(object obj, IRegistrableObject value)
 {
     TheBindingAProp.SetProperty(obj, value);
 }
Example #3
0
 public static void SetBindingExtensionInfo(object obj, IRegistrableObject value)
 {
     BindingExtensionInfoAProp.SetProperty(obj, value);
 }