Beispiel #1
0
 protected HomePageRepresentation(HttpRequestMessage req, RestControlFlags flags) : base(flags) {
     Log.DebugFormat("HomePageRepresentation");
     SelfRelType = new HomePageRelType(RelValues.Self, new UriMtHelper(req));
     SetLinks(req);
     SetExtensions();
     SetHeader();
 }
 private void SetLinks(HomePageRelType homePageRelType) {
     Links = new[] {LinkRepresentation.Create(OidStrategy ,SelfRelType, Flags), LinkRepresentation.Create(OidStrategy ,homePageRelType, Flags)};
 }