Summary
Serializes and deserializes
GitVersionVariables to and from JSON and disk files.- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.OutputVariables
graph BT
Type["IVersionVariableSerializer"]
class Type type-node
Syntax
public interface IVersionVariableSerializer
Attributes
| Type | Description |
|---|---|
| Nullable |
Methods
| Name | Value | Summary |
|---|---|---|
| FromFile |
GitVersionVariables |
Deserializes a
GitVersionVariables instance from the JSON file at filePath. |
| ToFile |
void |
Writes gitVersionVariables as JSON to the file at filePath.
|
| ToJson |
string |
Serializes gitVersionVariables to a JSON string.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|