Skip to content

Commit

Permalink
Fix CloudWatchEvents namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Slushnas committed Sep 22, 2018
1 parent 525d3c3 commit d8d77be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CloudWatchEvents
namespace Amazon.Lambda.CloudWatchEvents
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ protected override IList<JsonProperty> CreateProperties(Type type, MemberSeriali
}
}
else if (type.FullName.StartsWith("Amazon.Lambda.CloudWatchEvents.")
&& (type.GetTypeInfo().BaseType?.FullName?.StartsWith("CloudWatchEvents.CloudWatchEvent`", StringComparison.Ordinal) ?? false))
&& (type.GetTypeInfo().BaseType?.FullName?.StartsWith("Amazon.Lambda.CloudWatchEvents.CloudWatchEvent`",
StringComparison.Ordinal) ?? false))
{
foreach (JsonProperty property in properties)
{
Expand Down

0 comments on commit d8d77be

Please sign in to comment.