public static Customizer SetBuildUp(this Customizer customizer, bool shouldBuildUp = true) { if (shouldBuildUp) { customizer.ExtraData.Remove(Key); } else { customizer.ExtraData[Key] = null; } return(customizer); }
/// <summary> /// Initializes a new instance of the <see cref="SingleCustomizerLocator"/> class. /// </summary> /// <param name="instance">The single customizer instance.</param> public SingleCustomizerLocator(Customizer instance) { this.instance = instance; }
public static bool ShouldBuildUp(this Customizer customizer) { return(!customizer.ExtraData.ContainsKey(Key)); }
internal Customizer(Customizer parent, Configuration config, Type targetType) { this.parent = parent; this.config = config; this.targetType = targetType; }