private Note(int fret, int this_string, MultiPosition position, Length len, ModelCollection <IEffect> collection) { Fret = fret; String = this_string; Position = position; Length = len; ModelCollection = collection; }
public static Note createInstance(int?fret, int?this_string, MultiPosition position, Length len) { if (fret == null || this_string == null || position == null || len == null) { return(null); } var collection = new ModelCollection <IEffect>(); return(new Note((int)fret, (int)this_string, position, len, collection)); }
private NoteChord(MultiPosition position, Length length, ModelCollection <Note> collection) : base(position, length) { ModelCollection = collection; }