예제 #1
0
 public FailedCreationResult(
     Type type,
     CreationMode creationMode,
     IList <string>?reasonsForFailure = null,
     IList <ResolvedConstructor>?consideredConstructors = null)
 {
     this.type                   = type;
     this.creationMode           = creationMode;
     this.reasonsForFailure      = reasonsForFailure;
     this.consideredConstructors = consideredConstructors;
 }
예제 #2
0
 private CreationResult(
     Type type,
     CreationMode creationMode,
     IList <string> reasonsForFailure = null,
     IList <ResolvedConstructor> consideredConstructors = null)
 {
     this.WasSuccessful          = false;
     this.type                   = type;
     this.creationMode           = creationMode;
     this.reasonsForFailure      = reasonsForFailure;
     this.consideredConstructors = consideredConstructors;
 }