Exemple #1
0
        public void Override([NotNull] TInterface instance)
        {
            Guard.NotNull(instance, nameof(instance));

            specificInstance = instance;
        }
Exemple #2
0
 public ExtensionPoint([NotNull] Func <TInterface> createDefaultInstance)
 {
     Guard.NotNull(createDefaultInstance, nameof(createDefaultInstance));
     createDefaultInstanceFactory = createDefaultInstance;
 }