ant-design-blazor/components/core/Services/IComponentIdGenerator.cs
Vladislav Richter 059491d749 refactor: replace IdGeneratorHelper with DI service that can be replaced by user (#664)
* Replaced IdGeneratorHelper with DI service that can be replaced by user

* removed license comments and unnecessary usings

* check Id null before assigning autogenerated id

* fix: unit test

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-10 15:31:32 +08:00

8 lines
138 B
C#

namespace AntDesign
{
public interface IComponentIdGenerator
{
string Generate(AntDomComponentBase component);
}
}