Langue

RelationalOptionsExtension.RelationalExtensionInfo.GetServiceProviderHashCode Méthode

Définition

Retourne un code de hachage créé à partir de toutes les options qui entraîneraient un nouveau IServiceProvider besoin. Par exemple, si les options affectent un service singleton. Toutefois, la plupart des extensions n’ont pas de telles options et doivent retourner zéro.

public override int GetServiceProviderHashCode();
public override long GetServiceProviderHashCode();
override this.GetServiceProviderHashCode : unit -> int
override this.GetServiceProviderHashCode : unit -> int64
Public Overrides Function GetServiceProviderHashCode () As Integer
Public Overrides Function GetServiceProviderHashCode () As Long

Retours

Un hachage sur les options qui nécessitent un nouveau fournisseur de services lors de la modification.

S’applique à