Two things contributed to this:
- You are implementing the UserName property of the IUser interface explicitly
- 2 Framework Asp.Net Identity Framework IUser. UserName IUser, IUser.
, # , , , .
, :
public class User : IUser
{
string IUser<string>.UserName { get { return Email;} set { Email = value;}}
}
, :
public interface Base
{
string MyProperty { get; set; }
}
public interface Inherited : Base
{
}
public class Implementor : Inherited
{
string Inherited.MyProperty { get; set; }
}