예제 #1
0
 public StandardContentEntityFormatter(ZippedSignedContentFormatter signedFormatter, IPublishingId publishingId)
 {
     _SignedFormatter = signedFormatter;
     _PublishingId    = publishingId;
     _JsonSerializer  = new StandardJsonSerializer();
 }
 public StandardContentEntityFormatter(ZippedSignedContentFormatter signedFormatter, IPublishingId publishingId)
 {
     _SignedFormatter = signedFormatter;
     _PublishingId    = publishingId;
 }
 public StandardContentEntityFormatter(ZippedSignedContentFormatter signedFormatter, IPublishingIdService publishingIdService, IJsonSerializer jsonSerializer)
 {
     _SignedFormatter     = signedFormatter ?? throw new ArgumentNullException(nameof(signedFormatter));
     _PublishingIdService = publishingIdService ?? throw new ArgumentNullException(nameof(publishingIdService));
     _JsonSerializer      = jsonSerializer ?? throw new ArgumentNullException(nameof(jsonSerializer));
 }