Skip to content

Conversation

engyebrahim
Copy link
Member

fix: #1377

@engyebrahim engyebrahim changed the title Update test context.properties return type to IDictionary<string, object> Update test context.properties return type to Dictionary<string, object?> Dec 19, 2022
@Evangelink Evangelink changed the title Update test context.properties return type to Dictionary<string, object?> Update TestContext.Properties return type to Dictionary<string, object?> Dec 19, 2022
Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can simplify furthermore the GetProperty method of TestContext.

@MarcoRossignoli Do you think we should go with IDictionary over Dictionary?

@MarcoRossignoli
Copy link
Contributor

@MarcoRossignoli Do you think we should go with IDictionary over Dictionary?

I would use always abstraction if possible so yes.

@engyebrahim engyebrahim changed the title Update TestContext.Properties return type to Dictionary<string, object?> Update TestContext.Properties return type to IDictionary<string, object?> Dec 19, 2022
@Evangelink Evangelink enabled auto-merge (squash) December 19, 2022 15:49
@Evangelink Evangelink merged commit f277097 into microsoft:main Dec 19, 2022
engyebrahim added a commit that referenced this pull request May 17, 2023
engyebrahim added a commit that referenced this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update TestContext.Properties return type to IDictionary<string, object>
3 participants