public ReferenceModel(RegisteredLibraryInfo info, IReference reference, int priority) : this(info) { Priority = priority; IsBuiltIn = reference.IsBuiltIn; IsBroken = reference.IsBroken; IsReferenced = true; }
public ReferenceModel(RegisteredLibraryInfo info) : this() { Name = info.Name ?? string.Empty; Guid = info.Guid; Description = string.IsNullOrEmpty(info.Description) ? Path.GetFileNameWithoutExtension(info.FullPath) : info.Description; Major = info.Major; Minor = info.Minor; FullPath = info.FullPath; LocaleName = info.LocaleName; IsBuiltIn = false; Type = ReferenceKind.TypeLibrary; Flags = (TypeLibTypeFlags)info.Flags; IsRegistered = true; }