diff --git a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs index d6e5021f78..ae9a529bba 100644 --- a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs +++ b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs @@ -10,7 +10,7 @@ namespace Volo.Abp.Http.Client public string BaseUrl { get => this.GetOrDefault(nameof(BaseUrl)); - set => this[BaseUrl] = value; + set => this[nameof(BaseUrl)] = value; } /// @@ -19,7 +19,7 @@ namespace Volo.Abp.Http.Client public string Version { get => this.GetOrDefault(nameof(Version)); - set => this[Version] = value; + set => this[nameof(Version)] = value; } public RemoteServiceConfiguration() diff --git a/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs b/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs index 520195e7ce..9e891ccafa 100644 --- a/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs +++ b/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs @@ -12,7 +12,7 @@ namespace Volo.Abp.IdentityModel public string GrantType { get => this.GetOrDefault(nameof(GrantType)); - set => this[GrantType] = value; + set => this[nameof(GrantType)] = value; } /// @@ -21,7 +21,7 @@ namespace Volo.Abp.IdentityModel public string ClientId { get => this.GetOrDefault(nameof(ClientId)); - set => this[ClientId] = value; + set => this[nameof(ClientId)] = value; } /// @@ -30,7 +30,7 @@ namespace Volo.Abp.IdentityModel public string ClientSecret { get => this.GetOrDefault(nameof(ClientSecret)); - set => this[ClientSecret] = value; + set => this[nameof(ClientSecret)] = value; } /// @@ -40,7 +40,7 @@ namespace Volo.Abp.IdentityModel public string UserName { get => this.GetOrDefault(nameof(UserName)); - set => this[UserName] = value; + set => this[nameof(UserName)] = value; } /// @@ -50,7 +50,7 @@ namespace Volo.Abp.IdentityModel public string UserPassword { get => this.GetOrDefault(nameof(UserPassword)); - set => this[UserPassword] = value; + set => this[nameof(UserPassword)] = value; } /// @@ -59,7 +59,7 @@ namespace Volo.Abp.IdentityModel public string Authority { get => this.GetOrDefault(nameof(Authority)); - set => this[Authority] = value; + set => this[nameof(Authority)] = value; } /// @@ -68,7 +68,7 @@ namespace Volo.Abp.IdentityModel public string Scope { get => this.GetOrDefault(nameof(Scope)); - set => this[Scope] = value; + set => this[nameof(Scope)] = value; } public IdentityClientConfiguration()