Exemplo n.º 1
0
            public FlagSet Dedup(FlagSet values)
            {
#if DEBUG
                if (values == null)
                {
                    throw new ArgumentNullException(nameof(values));
                }
#endif
                return(FlagSetDeduper.GetEqualOrAdd(values));
            }
Exemplo n.º 2
0
 public FlagSet Dedup(FlagSet values) =>
 FlagSetDeduper.GetEqualOrAdd(values);
Exemplo n.º 3
0
 public MorphSet Dedup(MorphSet value) =>
 value == null ? null : MorphSetDeduper.GetEqualOrAdd(value);
Exemplo n.º 4
0
 public FlagSet Dedup(FlagSet value) =>
 value == null ? null : FlagSetDeduper.GetEqualOrAdd(value);
 public WordEntryDetail Dedup(WordEntryDetail value) =>
 value == null
     ? value
     : WordEntryDetailDeduper.GetEqualOrAdd(value);
 public MorphSet Dedup(MorphSet value) =>
 value == null
     ? value
     : value.Count == 0
     ? MorphSet.Empty
     : MorphSetDeduper.GetEqualOrAdd(value);
 public FlagSet Dedup(FlagSet value) =>
 value == null
     ? value
     : value.Count == 0
     ? FlagSet.Empty
     : FlagSetDeduper.GetEqualOrAdd(value);
 public CharacterConditionGroup Dedup(CharacterConditionGroup value) =>
 CharacterConditionGroupDeduper.GetEqualOrAdd(value);
 public FlagSet TakeArrayForFlagSet(FlagValue[] values) =>
 FlagSetDeduper.GetEqualOrAdd(FlagSet.TakeArray(values));