Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
polomani committed Dec 14, 2023
1 parent cbc1a05 commit 55b5a9c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions Cognite.Simulator.Extensions/SequencesExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,29 +392,6 @@ private static SequenceCreate GetSequenceCreatePrototype(
}
return seqCreate;
}

/// <summary>
/// Read the values of a <see cref="SequenceRow"/> and returns
/// it as a string array
/// </summary>
/// <param name="row">CDF Sequence row</param>
/// <returns>Array containing the row values</returns>
public static string[] GetStringValues(this SequenceRow row)
{
var result = new List<string>();
foreach (var val in row.Values)
{
if (val != null && val.Type == MultiValueType.STRING)
{
result.Add(((MultiValue.String)val).Value);
}
else
{
result.Add(null);
}
}
return result.ToArray();
}
}

/// <summary>
Expand Down

0 comments on commit 55b5a9c

Please sign in to comment.