Пример #1
0
 public PrimitivesContainer()
 {
     Name        = "Primitives".Localize();
     DefaultSort = new SortBehavior()
     {
         SortKey   = SortKey.ModifiedDate,
         Ascending = true,
     };
 }
Пример #2
0
        public HistoryContainerBase(string fullPath)
            : base(fullPath)
        {
            this.ChildContainers = new List <ILibraryContainerLink>();
            this.Items           = new List <ILibraryItem>();
            this.IsProtected     = true;

            DefaultSort = new SortBehavior()
            {
                SortKey = SortKey.ModifiedDate,
            };
        }