Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
 private NoteChord(MultiPosition position, Length length, ModelCollection <Note> collection)
     : base(position, length)
 {
     ModelCollection = collection;
 }