public AesJsonMediaTypeFormatter(AesKeyIv keyIv) { this._aesKey = keyIv.Key; this._aesIv = keyIv.Iv; base.SupportedMediaTypes.Clear(); base.SupportedMediaTypes.Add(new MediaTypeHeaderValue("application/jsone")); }
public AesTextJsonMediaTypeFormatter(AesKeyIv keyIv) : base(keyIv) { base.SupportedMediaTypes.Clear(); base.SupportedMediaTypes.Add(new MediaTypeHeaderValue("application/jsonet")); }