Thank you Mohsen.
I've got a question although it is not related to this topic, but I'd liked to know about it, in both IsInRoleByIdAsync(), AddToRoleByRoleIdAsync() methods, there is a method named ThrowIfDisposed(), what are its purposes?
It’s part of default implementation of UserStore class and it checks whether the current instance is disposed or not. github.com/dotnet/aspnetcore/blob/...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you Mohsen.
I've got a question although it is not related to this topic, but I'd liked to know about it, in both
IsInRoleByIdAsync()
,AddToRoleByRoleIdAsync()
methods, there is a method namedThrowIfDisposed()
, what are its purposes?It’s part of default implementation of UserStore class and it checks whether the current instance is disposed or not.
github.com/dotnet/aspnetcore/blob/...