JsonPatchDocument.ReplaceOperation.Builder.AddProperty Method
Definition
Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll
Overloads
AddProperty(ReadOnlySpan<byte>, JsonElement.Source)
public void AddProperty(ReadOnlySpan<byte> propertyName, in JsonElement.Source value)
Parameters
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
AddProperty(ReadOnlySpan<byte>, JsonElement.Source<TContext>)
public void AddProperty<TContext>(ReadOnlySpan<byte> propertyName, in JsonElement.Source<TContext> value)
Parameters
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
AddProperty(ReadOnlySpan<char>, JsonElement.Source)
public void AddProperty(ReadOnlySpan<char> propertyName, in JsonElement.Source value)
Parameters
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
AddProperty(ReadOnlySpan<char>, JsonElement.Source<TContext>)
public void AddProperty<TContext>(ReadOnlySpan<char> propertyName, in JsonElement.Source<TContext> value)
Parameters
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
AddProperty(string, JsonElement.Source)
public void AddProperty(string propertyName, in JsonElement.Source value)
Parameters
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
AddProperty(string, JsonElement.Source<TContext>)
public void AddProperty<TContext>(string propertyName, in JsonElement.Source<TContext> value)
Parameters
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue