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