예제 #1
0
파일: MusicData.cs 프로젝트: nca45/Roblot
 /// <summary>
 /// Checks the input for a valid repeat setting
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public bool checkRepeatInput(string input)
 {
     if (RepeatList.Contains(input))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 public Enumerator(RepeatList <T> list)
 {
     this._list        = list;
     this.currentIndex = 0;
 }
예제 #3
0
 public ImageProperty(int colorDepth, bool rowInterlace, IEnumerable <int> rowPixelPattern)
 {
     ColorDepth      = colorDepth;
     RowInterlace    = rowInterlace;
     RowPixelPattern = new RepeatList(rowPixelPattern);
 }