Class BuildInfoExtensions
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Build.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class BuildInfoExtensions
Methods
AppendSymbols(IBuildInfo, IEnumerable<String>)
Append symbols to the end of the IBuildInfo's BuildSymbols.
Declaration
public static void AppendSymbols(this IBuildInfo buildInfo, IEnumerable<string> symbols)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo | |
IEnumerable<String> | symbols | The string collection to append. |
AppendSymbols(IBuildInfo, String[])
Append symbols to the end of the IBuildInfo'sBuildSymbols.
Declaration
public static void AppendSymbols(this IBuildInfo buildInfo, params string[] symbol)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo | |
String[] | symbol | The string array to append. |
AppendWithoutConfigurationSymbols(IBuildInfo, String)
Appends the IBuildInfo's BuildSymbols without including debug, release or master.
Declaration
public static void AppendWithoutConfigurationSymbols(this IBuildInfo buildInfo, string symbols)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo | |
String | symbols | Symbols to append. |
GetGroup(BuildTarget)
Gets the BuildTargetGroup for the IBuildInfo's BuildTarget
Declaration
public static BuildTargetGroup GetGroup(this BuildTarget buildTarget)
Parameters
Type | Name | Description |
---|---|---|
BuildTarget | buildTarget |
Returns
Type | Description |
---|---|
BuildTargetGroup | The BuildTargetGroup for the IBuildInfo's BuildTarget |
HasAnySymbols(IBuildInfo, IEnumerable<String>)
Does the IBuildInfo contain any of the provided symbols in the BuildSymbols?
Declaration
public static bool HasAnySymbols(this IBuildInfo buildInfo, IEnumerable<string> symbols)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo | |
IEnumerable<String> | symbols | The string collection of symbols to match. |
Returns
Type | Description |
---|---|
Boolean | True, if any of the provided symbols are in the BuildSymbols |
HasAnySymbols(IBuildInfo, String[])
Does the IBuildInfo contain any of the provided symbols in the BuildSymbols?
Declaration
public static bool HasAnySymbols(this IBuildInfo buildInfo, params string[] symbols)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo | |
String[] | symbols | The string array of symbols to match. |
Returns
Type | Description |
---|---|
Boolean | True, if any of the provided symbols are in the BuildSymbols |
HasConfigurationSymbol(IBuildInfo)
Checks if the IBuildInfo has any configuration symbols (i.e. debug, release, or master).
Declaration
public static bool HasConfigurationSymbol(this IBuildInfo buildInfo)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo |
Returns
Type | Description |
---|---|
Boolean | True, if the BuildSymbols contains debug, release, or master. |
RemoveSymbols(IBuildInfo, IEnumerable<String>)
Remove symbols from the IBuildInfo's BuildSymbols.
Declaration
public static void RemoveSymbols(this IBuildInfo buildInfo, IEnumerable<string> symbolsToRemove)
Parameters
Type | Name | Description |
---|---|---|
IBuildInfo | buildInfo | |
IEnumerable<String> | symbolsToRemove | The string collection to remove. |