Skip to content

Commit

Permalink
Move aliases to global usings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed May 9, 2024
1 parent 30215e4 commit e1ef69e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions NetTally.Core/Data/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
string, System.Collections.Generic.KeyValuePair<
NetTally.Tally.Components.VoteLineBlock, NetTally.Votes.VoterStorage>>;

global using FilteredVoterStorage = System.Collections.Generic.IEnumerable<
System.Collections.Generic.KeyValuePair<
NetTally.Tally.Components.Origin, NetTally.Tally.Components.VoteLineBlock>>;
6 changes: 0 additions & 6 deletions NetTally.Core/Tally/Counting/VoterStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@

namespace NetTally.Votes
{
using FilteredVoterStorage = IEnumerable<KeyValuePair<Origin, VoteLineBlock>>;
using OrderedVoterStorage = List<KeyValuePair<Origin, VoteLineBlock>>;
// Simplified generic references
using VoterStorageEntry = KeyValuePair<Origin, VoteLineBlock>;


/// <summary>
/// Used in conjunction with <seealso cref="VoteStorage"/>, for
/// keeping track of voters and their associated votes.
Expand Down

0 comments on commit e1ef69e

Please sign in to comment.