static internal void Dispose() { //Reset the info. //Since this is a static class, (to make it simplier to access from anywhere in your code) //we need to reset this info everytime a test is run - so if you don't select an alias //the next time it doesn't use the previous alias setting - ie: ProviderInfo doesn't //get called when no alias is selected... s_pproperties = null; s_pinitstring = null; s_pcommandline = null; }
static internal void Dispose() { //Reset the info. //Since this is a static class, (to make it simplier to access from anywhere in your code) //we need to reset this info everytime a test is run - so if you don't select an alias //the next time it doesn't use the previous alias setting - ie: ProviderInfo doesn't //get called when no alias is selected... _properties = null; _initstring = null; _commandline = null; }