RelationalOptionsExtension.RelationalExtensionInfo.GetServiceProviderHashCode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.