tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/TestImporter/ProjectDefinition.cs
/// <summary>
/// Returns a list of tuples that contains the name of the assembly and the required hint path. If the
/// path is null it means that the assembly is part of the distribution.
/// </summary>
/// <param name="platform">The platform we are working with.</param>
/// <returns>The list of tuples (assembly name, path hint) for all the assemblies in the project.</returns>
Returns a list of tuples that contains the name of the assembly and the required hint path. If the
path is null it means that the assembly is part of the distribution.
Returns a list of tuples that contains the name of the assembly and the required hint path . If the path is null it means that the assembly is part of the distribution .
public (string FailureMessage, List<(string assembly, string hintPath)> Assemblies) GetAssemblyInclusionInformation (Platform platform)
		{
			var references = GetProjectAssemblyReferences (AssemblyLocator.GetAssembliesRootLocation (platform), platform);
			if (!string.IsNullOrEmpty (references.FailureMessage))
				return (references.FailureMessage, null);
			var asm = references.References.Select (
					a => (assembly: a,
						hintPath: AssemblyLocator.GetHintPathForReferenceAssembly (a, platform))).Union (
					TestAssemblies.Select (
						definition => (assembly: definition.GetName (platform),
							hintPath: definition.GetPath (platform))))
				.ToList ();
			return (null, asm);
		}
public ( string FailureMessage , List < ( string assembly , string hintPath ) > Assemblies ) GetAssemblyInclusionInformation ( Platform platform ) { var references = GetProjectAssemblyReferences ( AssemblyLocator . GetAssembliesRootLocation ( platform ) , platform ) ; if ( ! string . IsNullOrEmpty ( references . FailureMessage ) ) return ( references . FailureMessage , null ) ; var asm = references . References . Select ( a => ( assembly : a , hintPath : AssemblyLocator . GetHintPathForReferenceAssembly ( a , platform ) ) ) . Union ( TestAssemblies . Select ( definition => ( assembly : definition . GetName ( platform ) , hintPath : definition . GetPath ( platform ) ) ) ) . ToList ( ) ; return ( null , asm ) ; }
Returns a list of tuples that contains the name of the assembly and the required hint path.
Returns a list of tuples that contains the name of the assembly and the required hint path .
The list of tuples (assembly name, path hint) for all the assemblies in the project.
The list of tuples ( assembly name path hint ) for all the assemblies in the project .
platform
Platform
The platform we are working with.
The platform we are working with .