public static AirfoilRepresentationModeViewModel Create(AirfoilRepresentationMode mode) { return(new AirfoilRepresentationModeViewModel(mode, representationModeMap[mode])); }
public AirfoilRepresentationModeViewModel(AirfoilRepresentationMode representationMode, string label) { this.AirfoilRepresentationMode = representationMode; this.Label = label; }