Skip to content

Commit

Permalink
nullable size
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed May 19, 2021
1 parent 746cbdb commit 3c37917
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DotNetStac/Extensions/File/FileStacExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ public Multiformats.Hash.Multihash Checksum
/// The name of the facility that produced the data.
/// </summary>
/// <value></value>
public uint HeaderSize
public uint? HeaderSize
{
get { return StacPropertiesContainer.GetProperty<uint>(HeaderSizeField); }
get { return StacPropertiesContainer.GetProperty<uint?>(HeaderSizeField); }
set { StacPropertiesContainer.SetProperty(HeaderSizeField, value); DeclareStacExtension(); }
}

/// <summary>
/// The name of the facility that produced the data.
/// </summary>
/// <value></value>
public ulong Size
public ulong? Size
{
get { return StacPropertiesContainer.GetProperty<ulong>(SizeField); }
get { return StacPropertiesContainer.GetProperty<ulong?>(SizeField); }
set { StacPropertiesContainer.SetProperty(SizeField, value); DeclareStacExtension(); }
}

Expand Down

0 comments on commit 3c37917

Please sign in to comment.