public BuildExporter(IObjectRepository tdb, int implementationGuideId, IEnumerable <Template> templates = null, bool jsonFormat = false) { this.tdb = tdb; this.ig = this.tdb.ImplementationGuides.SingleOrDefault(y => y.Id == implementationGuideId); this.igTypePlugin = this.ig.ImplementationGuideType.GetPlugin(); this.templates = templates ?? this.ig.GetRecursiveTemplates(this.tdb); this.schema = this.ig.ImplementationGuideType.GetSimpleSchema(); this.igName = this.ig.Name.Replace(" ", "_"); this.controlFileName = "ig.json"; this.JsonFormat = jsonFormat; this.dataExamples = new DataExamples(); }
public static List <User> GetAllFriendsFromServer() => DataExamples.GetGeneratedUserList();