/// <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()); } }
public static void SetTheBinding(object obj, IRegistrableObject value) { TheBindingAProp.SetProperty(obj, value); }
public static void SetBindingExtensionInfo(object obj, IRegistrableObject value) { BindingExtensionInfoAProp.SetProperty(obj, value); }