Пример #1
0
 public static PublicItemWrapper GetSample()
 {
     return(new PublicItemWrapper
     {
         SharingOption = AccessOption.GetSample(),
         CanEdit = true,
         IsGroup = true,
         ItemName = "Everyone",
         ItemId = "2fdfe577-3c26-4736-9df9-b5a683bb8520"
     });
 }
Пример #2
0
 public static PublicItemCollection GetSample()
 {
     return(new PublicItemCollection {
         AvailableOptions = new List <AccessOption>()
         {
             AccessOption.GetSample()
         }, Items = new List <PublicItemWrapper>()
         {
             PublicItemWrapper.GetSample()
         }
     });
 }