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(IOidStrategy oidStrategy, ActionRepresentationStrategy strategy) : base(oidStrategy, strategy.GetFlags()) { MemberType = MemberTypes.Action; Id = strategy.GetId(); Parameters = strategy.GetParameters(); Links = strategy.GetLinks(false); Extensions = strategy.GetExtensions(); SetHeader(strategy.GetTarget()); }