Skip to content

Commit

Permalink
Add JsonProperty attributes to contact shape parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
bparks13 committed Nov 7, 2024
1 parent 4b87cbc commit 9ebec58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<UseArtifactsOutput>true</UseArtifactsOutput>
<PackageIcon>icon.png</PackageIcon>
<VersionPrefix>0.1.1</VersionPrefix>
<VersionPrefix>0.2.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<LangVersion>10.0</LangVersion>
<Features>strict</Features>
Expand Down
3 changes: 3 additions & 0 deletions OpenEphys.ProbeInterface.NET/ContactShapeParam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class ContactShapeParam
/// <remarks>
/// This is only used to draw <see cref="ContactShape.Circle"/> contacts. Field can be null.
/// </remarks>
[JsonProperty("radius")]
public float? Radius { get; protected set; }

/// <summary>
Expand All @@ -25,6 +26,7 @@ public class ContactShapeParam
/// This is used to draw <see cref="ContactShape.Square"/> or <see cref="ContactShape.Rect"/> contacts.
/// Field can be null.
/// </remarks>
[JsonProperty("width")]
public float? Width { get; protected set; }

/// <summary>
Expand All @@ -33,6 +35,7 @@ public class ContactShapeParam
/// <remarks>
/// This is only used to draw <see cref="ContactShape.Rect"/> contacts. Field can be null.
/// </remarks>
[JsonProperty("height")]
public float? Height { get; protected set; }

/// <summary>
Expand Down

0 comments on commit 9ebec58

Please sign in to comment.