public SectorMapFactoryOptions(ISectorMapFactoryOptionsSubScheme optionsSubScheme, IEnumerable <SectorTransition> transitions) { OptionsSubScheme = optionsSubScheme ?? throw new ArgumentNullException(nameof(optionsSubScheme)); Transitions = transitions ?? throw new ArgumentNullException(nameof(transitions)); }
public SectorMapFactoryOptions(ISectorMapFactoryOptionsSubScheme optionsSubScheme) { OptionsSubScheme = optionsSubScheme ?? throw new ArgumentNullException(nameof(optionsSubScheme)); Transitions = Array.Empty <SectorTransition>(); }