[Discussion] Changing Namespaces
Closed this issue · 0 comments
andreluizsecco commented
I'm thinking about changing the namespaces (in the next version) and structures of the project to organize and facilitate a bit more at the time of use.
As resources increase, the use of the same namespace becomes more confusing.
ps: obviously, this will cause a breaking change.
Example
Now:
using (var client = new LuisProgClient("Your_Authoring_Key", Regions.WestUS))
{
var apps = await client.GetAllAppsAsync();
var intents = await client.GetAllIntentsAsync(
appId: "24d2a592-165d-468f-8800-7778900afc11",
appVersionId: "0.1"
);
}
After:
using (var client = new LuisProgClient("Your_Authoring_Key", Regions.WestUS))
{
var apps = await client.Apps.GetAllAsync();
var intents = await client.Intents.GetAllAsync(
appId: "24d2a592-165d-468f-8800-7778900afc11",
appVersionId: "0.1"
);
}
I would like to know your opinions and if anyone has any objections.