Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ExchangeAPI.GetExchangeAPIFromClassName() #518

Merged
merged 2 commits into from
Feb 5, 2020

Conversation

nh43de
Copy link
Contributor

@nh43de nh43de commented Feb 4, 2020

There is a GetExchangeAPI() method that gets an ExchangeAPI instance by its corresponding .Name property, which is nice. However sometimes we want to fetch the instance by the class name.

So I introduce GetExchangeAPIFromClassName() which has the same functionality but you can fetch by class name now.

Why should this be in the base code? 1) this is the simplest place to put it 2) overhead is mimimal 3) the Name <-> class name relationship is somewhat akward due to architecture. This is a step at bridging the gap.

Thanks yall!

@nh43de nh43de requested review from vslee and jjxtra February 4, 2020 18:58
@vslee vslee changed the title Implement GetExchangeAPIFromClassName added ExchangeAPI.GetExchangeAPIFromClassName() Feb 5, 2020
@vslee vslee merged commit 8a94c43 into DigitalRuby:master Feb 5, 2020
@vslee vslee added maintenance such as tests and removed enhancement labels Feb 6, 2020
szmcdull pushed a commit to szmcdull/ExchangeSharp that referenced this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance such as tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants