public SampleCommand Mutate(Action <SampleCommandBuilder> mutation) { SampleCommandBuilder mutator = new SampleCommandBuilder(this); mutation(mutator); return(mutator); }
public SampleCommand(SampleCommandBuilder source) : base(source) { if (source == null) { throw new ArgumentNullException(nameof(source)); } AdditionalProperty = source.AdditionalProperty.NotNull(); InterfaceStringProp = source.InterfaceStringProp.NotNull(); }