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
framework
FrameworkFramework type.
needFullPaths
boolSpecifies 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
technologyEnvironment
TechnologyEnvironmentGiven technology environment.
useRuntimeAssemblies
boolSpecifies whether runtime assemblies should be also processed.
needFullPaths
boolSpecifies if a fully qualified path is required.
targetFramework
TargetFrameworkGiven Target Framework.
useDesignReferences
boolSpecifies if the design-related references are needed.
usePrivateLibs
bool
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
references
string[]List of all references.
technologyEnvironment
TechnologyEnvironmentGiven Technology Environment.
needFullPaths
boolSpecifies if a fully qualified path is required.
useDesignReferences
boolSpecifies if the design-related references are needed.
usePrivateLibs
boolSpecifies if System.Private libraries are needed
Returns
- IReadOnlyList<string>
Minimum required list of assembly names.