Esempio n. 1
0
 internal Recording FillRecording(DataRow r)
 {
     Recording X = null;
     if(r != null)
     {
         X = new Recording();
         X.mvarID = Convert.ToInt32((object)r[0]);
         X.mvarDescription = Convert.ToString((object)r[1]);
         X.mvarCreatedDate = Convert.ToDateTime((object)r[2]);
         X.mvarUniqueIdentifier = r[3].ToString();
         X.mvarVideoStorageServerID = Convert.ToInt32((object)r[4]);
         X.mvarDisplayName = Convert.ToString((object)r[5]);
         X.mvarStreamingEncoderID = Convert.ToInt32((object)r[6]);
         X.mvarSessionID = Convert.ToInt32((object)r[7]);
         X.mvarIsReady = Convert.ToBoolean((object)r[8]);
         X.mvarIsDefault = Convert.ToBoolean((object)r[9]);
         X.mvarIsDesktopCapture = Convert.ToBoolean((object)r[10]);
         X.mvarIsPrimaryCamera = Convert.ToBoolean((object)r[11]);
         X.mvarDiskSize = Convert.ToInt64((object)r[12]);
         X.mvarPlayLength = Convert.ToInt64((object)r[13]);
         X.mvarHasAudio = Convert.ToBoolean((object)r[14]);
         X.mvarHasVideo = Convert.ToBoolean((object)r[15]);
     }
     return X;
 }
Esempio n. 2
0
 public void Add(Recording X)
 {
     List.Add(X);
 }