OpenRasta.Pipeline.CallGraph.Notification.VerifyContributorIsRegistered C# (CSharp) Méthode

VerifyContributorIsRegistered() private méthode

private VerifyContributorIsRegistered ( Type contributorType ) : void
contributorType System.Type
Résultat void
    void VerifyContributorIsRegistered(Type contributorType)
    {
      if (!GetContributorsOfType(contributorType).Any())
        throw new ArgumentOutOfRangeException("There is no registered contributor matching type " +
                                              contributorType.FullName);
    }