Skip to content

Commit

Permalink
Merge pull request #192 from dszryan/master
Browse files Browse the repository at this point in the history
namespace added
  • Loading branch information
mganss authored May 1, 2020
2 parents e160b78 + 52096c5 commit dccda08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator/TypeModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public override CodeTypeDeclaration Generate()
};
var param = new CodeParameterDeclarationExpression(typeof(string), "propertyName");
onPropChangedMethod.Parameters.Add(param);
var threadSafeDelegateInvokeExpression = new CodeSnippetExpression($"{propertyChangedEvent.Name}?.Invoke(this, new PropertyChangedEventArgs({param.Name}))");
var threadSafeDelegateInvokeExpression = new CodeSnippetExpression($"{propertyChangedEvent.Name}?.Invoke(this, new System.ComponentModel.PropertyChangedEventArgs({param.Name}))");

onPropChangedMethod.Statements.Add(threadSafeDelegateInvokeExpression);
classDeclaration.Members.Add(onPropChangedMethod);
Expand Down

0 comments on commit dccda08

Please sign in to comment.