diff --git a/Telegrator.Hosting.Web/Telegrator.Hosting.Web.csproj b/Telegrator.Hosting.Web/Telegrator.Hosting.Web.csproj index 2f3453b..cd0ecc2 100644 --- a/Telegrator.Hosting.Web/Telegrator.Hosting.Web.csproj +++ b/Telegrator.Hosting.Web/Telegrator.Hosting.Web.csproj @@ -15,7 +15,7 @@ True LICENSE README.md - 1.15.2 + 1.15.3 diff --git a/Telegrator.Hosting/Telegrator.Hosting.csproj b/Telegrator.Hosting/Telegrator.Hosting.csproj index ff5435d..822f40b 100644 --- a/Telegrator.Hosting/Telegrator.Hosting.csproj +++ b/Telegrator.Hosting/Telegrator.Hosting.csproj @@ -16,7 +16,7 @@ True LICENSE README.md - 1.15.2 + 1.15.3 diff --git a/Telegrator/MadiatorCore/IHandlersCollection.cs b/Telegrator/MadiatorCore/IHandlersCollection.cs index 09f44ab..5352c2c 100644 --- a/Telegrator/MadiatorCore/IHandlersCollection.cs +++ b/Telegrator/MadiatorCore/IHandlersCollection.cs @@ -37,12 +37,5 @@ namespace Telegrator.MadiatorCore /// The handler descriptor to add. /// The updated . public IHandlersCollection AddDescriptor(HandlerDescriptor descriptor); - - /// - /// Gets the for the specified . - /// - /// The handler descriptor. - /// The handler descriptor list containing the descriptor. - public HandlerDescriptorList GetDescriptorList(HandlerDescriptor descriptor); } } diff --git a/Telegrator/Providers/HandlersCollection.cs b/Telegrator/Providers/HandlersCollection.cs index f683611..55c0a53 100644 --- a/Telegrator/Providers/HandlersCollection.cs +++ b/Telegrator/Providers/HandlersCollection.cs @@ -91,11 +91,11 @@ namespace Telegrator.Providers } /// - /// Gets or creates a descriptor list for the specified update type. + /// Gets the for the specified . /// - /// The handler descriptor to get the list for. - /// The descriptor list for the update type. - public virtual HandlerDescriptorList GetDescriptorList(HandlerDescriptor descriptor) + /// The handler descriptor. + /// The handler descriptor list containing the descriptor. + protected virtual HandlerDescriptorList GetDescriptorList(HandlerDescriptor descriptor) { UpdateType updateType = UpdateTypeExtensions.SuppressTypes.TryGetValue(descriptor.UpdateType, out UpdateType suppressType) ? suppressType diff --git a/Telegrator/Telegrator.csproj b/Telegrator/Telegrator.csproj index 6f6589b..f08ca91 100644 --- a/Telegrator/Telegrator.csproj +++ b/Telegrator/Telegrator.csproj @@ -17,7 +17,7 @@ telegram;bot;mediator;attributes;aspect;hosting;host;framework;easy;simple;handlers README.md LICENSE - 1.15.2 + 1.15.3