コード例 #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;
 }