Exemplo n.º 1
0
 public EntryRequirement GenerateEntryRequirementSection(EnumLibrary.RouteEntryType entryRequirementType)
 {
     return(new EntryRequirement()
     {
         Id = Guid.NewGuid().ToString(),
         Info = $"Default {entryRequirementType} entry requirement",
         Title = $"Default {entryRequirementType} entry requirement title",
     });
 }
Exemplo n.º 2
0
 public MoreInformationLink GenerateMoreInformationLinkSection(EnumLibrary.RouteEntryType routeEntryType)
 {
     return(new MoreInformationLink()
     {
         Id = Guid.NewGuid().ToString(),
         Text = $"Default more information link for the {routeEntryType} route entry type",
         Title = $"Default more information title for the {routeEntryType} route entry type",
         Url = $"https://{this.RandomString(10)}.com",
     });
 }
Exemplo n.º 3
0
 public RouteEntry GenerateRouteEntryForRouteEntryType(EnumLibrary.RouteEntryType routeEntryType)
 {
     return(new RouteEntry()
     {
         RouteName = (int)routeEntryType,
         EntryRequirements = new List <EntryRequirement>(),
         MoreInformationLinks = new List <MoreInformationLink>(),
         FurtherRouteInformation = $"Default further information for the {routeEntryType} route entry type",
         RouteRequirement = $"Default route requirement for the {routeEntryType} route entry type",
         RouteSubjects = $"Default route subjects for the {routeEntryType} route entry type",
     });
 }