-
Notifications
You must be signed in to change notification settings - Fork 479
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
Cleanup and consolidate TypeFactory/loading/configuration/ExpressionEngine/registration etc. #3350
Conversation
tomlm
commented
Feb 7, 2020
•
edited
edited
- Add HostContext for global assets like IConfiguration
- Add ComponentRegistration discovery
- Break interfaces apart for components registrations
- Added Expression.Parse with global function table
- Removed IExpressionEngineFactory
- drop SetStateConfiguration
- Merge TypeFactory and DeclarativeTypeLoader with ResourceExplorer
- Added DialogManager.TurnState to allow dialog manager to set initial TurnState for registering * components like LanguageGenerator and ResourceExplorer
- Dropped adapter .Use methods and moved them to DialogManager * (UseResourceExplorer/UseLanguageGeneration etc)
- Drop Resource Plugins
- Merge RefResolver into ResourceExplorer
- rename TypeRegistration to DeclarativeTypeRegistration
- Add Configuration.UseLuisSettings()
Add ComponentRegistration discovery Break interfaces apart for components registrations Added Expression.Parse with global function table Removed IExpressionEngineFactory drop SetStateConfiguration Merge TypeFactory and DeclarativeTypeLoader with ResourceExplorer Added DialogManager.TurnState to allow dialog manager to set initial TurnState for registering components like LanguageGenerator and ResourceExplorer Dropped adapter .Use methods and moved them to DialogManager (UseResourceExplorer/UseLanguageGeneration etc) Drop Resource Plugins Merge RefResolver into ResourceExplorer rename TypeRegistration to KindRegistration Add Configuration.UseLuisSettings()
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3 |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3 |
I'm a little confused--you HostContext class talks about being the TurnContext--so how does that relate to this? #Resolved Refers to: libraries/Microsoft.Bot.Builder/TurnContextStateCollection.cs:15 in ad51e27. [](commit_id = ad51e27, deletion_comment = False) |
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/AdaptiveComponentRegistration.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/IComponentMemoryScopes.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/IComponentPathResolvers.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/LanguageGenerationComponentRegistration.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/LanguageGeneratorConverter.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/LUIS/LuisComponentRegistration.cs
Show resolved
Hide resolved
...soft.Bot.Builder.Dialogs.Adaptive/Memory/Expressions/Converters/DialogExpressionConverter.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/QnAMaker/QnAMakerComponentRegistration.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Selectors/MostSpecificSelector.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/IComponentMemoryScopes.cs
Outdated
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/IComponentPathResolvers.cs
Outdated
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/IComponentPathResolvers.cs
Outdated
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Testing/MockLuis/MockLuisExtensions.cs
Outdated
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Declarative/ComponentRegistration.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Declarative/ComponentRegistration.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Declarative/DeclarativeComponentRegistration.cs
Show resolved
Hide resolved
libraries/Microsoft.Bot.Builder.Dialogs.Declarative/IComponentDeclarativeTypes.cs
Outdated
Show resolved
Hide resolved
libraries/Microsoft.Bot.Expressions.Properties/StringExpression.cs
Outdated
Show resolved
Hide resolved
tests/Microsoft.Bot.Builder.Dialogs.Adaptive.Profiling/Program.cs
Outdated
Show resolved
Hide resolved
tests/Microsoft.Bot.Builder.Dialogs.Declarative.Tests/JsonLoadTests.cs
Outdated
Show resolved
Hide resolved
tests/Microsoft.Bot.Builder.TestBot.Json/luis.settings.tomlm.westus.json
Show resolved
Hide resolved
tests/Microsoft.Bot.Builder.TestBot.Json/Samples/GeneratedForm/luis/sandwich.en-us.lu
Show resolved
Hide resolved
tests/Microsoft.Bot.Builder.TestBot.Json/Samples/GeneratedForm/luis/sandwich.en-us.lu.dialog
Show resolved
Hide resolved
...Microsoft.Bot.Builder.TestBot.Json/Samples/ToDoLuisBot/luis.settings.development.westus.json
Show resolved
Hide resolved
...ft.Bot.Builder.TestBot.Json/Samples/GeneratedForm/luis/luis.settings.development.westus.json
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
* comments * headers * fixed expression optional/ignore and added unit tets * restored jsonload * more comments
@@ -9,6 +9,9 @@ | |||
|
|||
namespace Microsoft.Bot.Builder.Dialogs.Adaptive | |||
{ | |||
/// <summary> | |||
/// JsonConverter to load ITemplate<Activity>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ITemplate<Activity> [](start = 30, length = 24)
Probably better to do a <see cref
/// <summary> | ||
/// Initializes a new instance of the <see cref="DialogExpressionConverter"/> class. | ||
/// </summary> | ||
/// <param name="resourceExplorer">resource explorer to use for resolving references.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resource [](start = 43, length = 8)
Capital.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3 |