Making internal ctor public

Signed-off-by: Tobias Lønnerød Madsen <m@dsen.tv>
This commit is contained in:
Tobias Lønnerød Madsen 2019-10-31 15:29:23 +01:00
parent 195c3fce10
commit bb3b0badfd
No known key found for this signature in database
GPG Key ID: E51953EA8372F2AC
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace CloudNative.CloudEvents
/// </summary>
/// <param name="specVersion">CloudEvents specification version</param>
/// <param name="extensions">Extensions to be added to this CloudEvents</param>
internal CloudEvent(CloudEventsSpecVersion specVersion, IEnumerable<ICloudEventExtension> extensions)
public CloudEvent(CloudEventsSpecVersion specVersion, IEnumerable<ICloudEventExtension> extensions)
{
attributes = new CloudEventAttributes(specVersion, extensions);
this.Extensions = new Dictionary<Type, ICloudEventExtension>();