Exemplo n.º 1
0
        public LogicFolder(string folderName)
        {
            if (string.IsNullOrEmpty(folderName))
            {
                throw new ArgumentNullException(
                          string.Format(Strings.ErrorMessageParameterIsNullOrWhitespace, nameof(LogicFolder), nameof(folderName)));
            }

            Name     = folderName;
            Programs = new LogicProgramCollection(this, null);
            Folders  = new ContainerAwareObservableCollection <LogicFolder>(this);
        }
Exemplo n.º 2
0
 /// <summary>Private default constructor for serialization.</summary>
 // ReSharper disable once UnusedMember.Local : Required default constructor for serialization.
 private LogicFolder()
 {
     Programs = new LogicProgramCollection(this, null);
     Folders  = new ContainerAwareObservableCollection <LogicFolder>(this);
 }