You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an ideal world, the methods for setting/nulling/reading flags should only accept Enum-Values (bonus: only those with an Flags-Attribute).
ToDo: Make the public method generic enough to consume only enums, not strings. The internal/private methods might still use strings because, as the flags are stored in a Dictionary<string,JToken> (constraint by JSON.Net), the keys are ultimately stored as strings in the UserProperties.
The text was updated successfully, but these errors were encountered:
BO4E-dotnet/BO4E-dotnet/BO/BusinessObject.cs
Line 205 in 8bba8b1
In an ideal world, the methods for setting/nulling/reading flags should only accept Enum-Values (bonus: only those with an Flags-Attribute).
ToDo: Make the public method generic enough to consume only enums, not strings. The internal/private methods might still use strings because, as the flags are stored in a
Dictionary<string,JToken>
(constraint by JSON.Net), the keys are ultimately stored as strings in the UserProperties.The text was updated successfully, but these errors were encountered: