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

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