Method GetReferences
- Namespace
- Alternet.Common.DotNet.DefaultAssemblies
- Assembly
- Alternet.Common.v10.dll
GetReferences(Framework, bool)
Retrieves a list of references related to the specified framework.
public static IReadOnlyList<string> GetReferences(Framework framework, bool needFullPaths)
Parameters
frameworkFrameworkFramework type.
needFullPathsboolSpecifies if a fully qualified path is required.
Returns
- IReadOnlyList<string>
Minimum required list of assembly names.
GetReferences(TechnologyEnvironment, bool, bool, TargetFramework?, bool, bool)
Retrieves a list of references for the specific environment and framework.
public static IReadOnlyList<string> GetReferences(TechnologyEnvironment technologyEnvironment, bool useRuntimeAssemblies, bool needFullPaths, TargetFramework? targetFramework = null, bool useDesignReferences = false, bool usePrivateLibs = true)
Parameters
technologyEnvironmentTechnologyEnvironmentGiven technology environment.
useRuntimeAssembliesboolSpecifies whether runtime assemblies should be also processed.
needFullPathsboolSpecifies if a fully qualified path is required.
targetFrameworkTargetFrameworkGiven Target Framework.
useDesignReferencesboolSpecifies if the design-related references are needed.
usePrivateLibsbool
Returns
- IReadOnlyList<string>
Minimum required list of assembly names.
GetReferences(string[], TechnologyEnvironment, bool, bool, bool)
Retrieves a list of references for the specific environment and framework.
public static IReadOnlyList<string> GetReferences(string[] references, TechnologyEnvironment technologyEnvironment, bool needFullPaths, bool useDesignReferences = false, bool usePrivateLibs = true)
Parameters
referencesstring[]List of all references.
technologyEnvironmentTechnologyEnvironmentGiven Technology Environment.
needFullPathsboolSpecifies if a fully qualified path is required.
useDesignReferencesboolSpecifies if the design-related references are needed.
usePrivateLibsboolSpecifies if System.Private libraries are needed
Returns
- IReadOnlyList<string>
Minimum required list of assembly names.