コード例 #1
0
 protected InlineCollectionRepresentation(CollectionRepresentationStrategy strategy) : base(strategy.GetFlags())
 {
     MemberType = MemberTypes.Collection;
     Id         = strategy.GetId();
     Size       = strategy.GetSize();
     Links      = strategy.GetLinks(true);
     Extensions = strategy.GetExtensions();
     SetHeader(strategy.GetTarget());
 }
コード例 #2
0
 protected CollectionRepresentation(CollectionRepresentationStrategy strategy) : base(strategy)
 {
     Value      = strategy.GetValue();
     Extensions = strategy.GetExtensions();
 }