protected PromptRepresentation(IOidStrategy oidStrategy, PropertyContextFacade propertyContext, HttpRequestMessage req, RestControlFlags flags)
     : base(oidStrategy, flags) {
     SetScalars(propertyContext.Property.Id);
     SetChoices(propertyContext, req);
     SelfRelType = new PromptRelType(RelValues.Self, GetSelfHelper(oidStrategy, propertyContext, req));
     SetLinks(req, propertyContext.Completions.ElementType, new ObjectRelType(RelValues.Up, GetParentHelper(oidStrategy, propertyContext, req)));
     SetExtensions();
     SetHeader(propertyContext.Completions.IsListOfServices);
 }
 protected PromptRepresentation(IOidStrategy oidStrategy, ParameterContextFacade parmContext, HttpRequestMessage req, RestControlFlags flags)
     : base(oidStrategy, flags) {
     SetScalars(parmContext.Id);
     SetChoices(parmContext, req);
     SelfRelType = new PromptRelType(RelValues.Self, new UriMtHelper(oidStrategy, req, parmContext));
     var helper = new UriMtHelper(oidStrategy, req, parmContext.Target);
     ObjectRelType parentRelType = parmContext.Target.Specification.IsService ? new ServiceRelType(RelValues.Up, helper) : new ObjectRelType(RelValues.Up, helper);
     SetLinks(req, parmContext.Completions.ElementType, parentRelType);
     SetExtensions();
     SetHeader(parmContext.Completions.IsListOfServices);
 }