protected ActionRepresentation(ActionRepresentationStrategy strategy) : base(strategy.GetFlags()) { SelfRelType = strategy.GetSelf(); Id = strategy.GetId(); Parameters = strategy.GetParameters(); Links = strategy.GetLinks(true); Extensions = strategy.GetExtensions(); SetHeader(strategy.GetTarget()); }
protected InlineActionRepresentation(ActionRepresentationStrategy strategy) : base(strategy.GetFlags()) { MemberType = MemberTypes.Action; Id = strategy.GetId(); Parameters = strategy.GetParameters(); Links = strategy.GetLinks(false); Extensions = strategy.GetExtensions(); SetHeader(strategy.GetTarget()); }