Inheritance: ISiteTemplateRepository
示例#1
0
        public static SiteTemplateRepository Create()
        {
            SiteTemplateRepository siteTemplateRepository = new SiteTemplateRepository();

            return(siteTemplateRepository);

            // TODO: Edit factory method of SiteTemplateRepository
            // This method should be able to configure the object in all possible ways.
            // Add as many parameters as needed,
            // and assign their values to each field by using the API.
        }
 public void Initialize()
 {
     _target = new SiteTemplateRepository();
     Assert.IsNotNull(_target);
 }