internal static MediaTypeFormatter Clone(this MediaTypeFormatter formatter) { Contract.Requires(formatter != null); Contract.Ensures(Contract.Result <MediaTypeFormatter>() != null); var clone = MediaTypeFormatterAdapterFactory.GetOrCreateCloneFunction(formatter); return(clone(formatter)); }
internal static MediaTypeFormatter Clone(this MediaTypeFormatter formatter) { var clone = MediaTypeFormatterAdapterFactory.GetOrCreateCloneFunction(formatter); return(clone(formatter)); }