コード例 #1
0
 protected PropertyRepresentation(IOidStrategy oidStrategy, AbstractPropertyRepresentationStrategy strategy)
     : base(oidStrategy, strategy)
 {
     HasChoices = strategy.GetHasChoices();
     Links      = strategy.GetLinks();
     Extensions = strategy.GetExtensions();
 }
コード例 #2
0
 protected InlinePropertyRepresentation(IOidStrategy oidStrategy, AbstractPropertyRepresentationStrategy strategy)
     : base(oidStrategy, strategy.GetFlags())
 {
     MemberType = MemberTypes.Property;
     Id         = strategy.GetId();
     Links      = strategy.GetLinks();
     Extensions = strategy.GetExtensions();
     SetHeader(strategy.GetTarget());
 }