コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="diskId"></param>
        /// <returns></returns>
        public MyInfoFile GetMyFileInfoForFolder(ulong diskId)
        {
            MyInfoFile f = new MyInfoFile();

            foreach (var s in TemplatesForFile)
            {
                XMLProcessors.XmlReaders.readTemplate(s, f, diskId);
            }
            return(f);
        }
コード例 #2
0
 internal void CopyFrom(MyInfoFile myInfoFile)
 {
     foreach (var i in myInfoFile.items)
     {
         items.Add(i.Copy());
     }
     foreach (var g in myInfoFile.groups)
     {
         groups.Add(g.Copy());
     }
 }
コード例 #3
0
 public MyFile(Classes.MyInfoFile myInfoFile)
 {
     _MyInfoFile = myInfoFile;
 }