Пример #1
0
 public PackageInfoWithAnalyze([NotNull] string path, [CanBeNull] string role, [NotNull] PackageModel analyze)
 {
     Path    = Check.NotNullOrWhiteSpace(path, nameof(path));
     Name    = PackageHelper.GetNameFromPath(path);
     Role    = role;
     Analyze = Check.NotNull(analyze, nameof(analyze));
 }
Пример #2
0
 public PackageInfo([NotNull] string path, [CanBeNull] string role)
 {
     Path = Check.NotNullOrWhiteSpace(path, nameof(path));
     Name = PackageHelper.GetNameFromPath(path);
     Role = role;
 }