Beispiel #1
0
 public SearchParameters(InstallAttribute attribute, AccessorImage accessor)
 {
     SearchName = attribute.HasFlag(TypeOnly) ? null : attribute.Name ?? accessor.ShortName;
     SearchType = accessor.DeclaredType;
     IsAncestor = attribute.HasFlag(Ancestor);
     IsOptional = attribute.HasFlag(Optional);
 }
Beispiel #2
0
 public Target(AccessorImage accessor, InstallAttribute attribute)
 {
     Accessor  = accessor;
     Attribute = attribute;
 }