public void Override([NotNull] TInterface instance) { Guard.NotNull(instance, nameof(instance)); specificInstance = instance; }
public ExtensionPoint([NotNull] Func <TInterface> createDefaultInstance) { Guard.NotNull(createDefaultInstance, nameof(createDefaultInstance)); createDefaultInstanceFactory = createDefaultInstance; }