示例#1
0
 public static SearchWrapper GetSample()
 {
     return(new SearchWrapper
     {
         Item = SearchItemWrapper.GetSample()
     });
 }
示例#2
0
 public SearchWrapper(SearchItem searchItem)
 {
     Item = new SearchItemWrapper(searchItem);
     if (searchItem.Container != null)
     {
         Owner = new SearchItemWrapper(searchItem.Container);
     }
 }
示例#3
0
 public static SearchWrapper GetSample()
 {
     return(new SearchWrapper()
     {
         ProjectOwner = SimpleProjectWrapper.GetSample(),
         Items = new SearchItemWrapper[] { SearchItemWrapper.GetSample(), SearchItemWrapper.GetSample(), SearchItemWrapper.GetSample() }
     });
 }