/// <summary> /// Construct requirements view model from the package requirements. /// </summary> /// <param name="requirements"></param> internal RequirementsViewModel(Requirements requirements) { _requirements = requirements; }
/// <summary> /// Construct requirements view model for the specified package. /// </summary> /// <param name="package"></param> internal RequirementsViewModel(string packageTags, Version osVersion, Version spVersion, string type, string architecture) { _requirements = new Requirements(packageTags, osVersion, spVersion, type, architecture); }