Summary
Serializes and deserializes
GitVersionVariables to and from JSON and
disk files.
- Namespace
-
GitVersion
.OutputVariables
graph BT Type["IVersionVariableSerializer"] class Type
type-node
Syntax
public interface IVersionVariableSerializer
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
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|