Sinbadsoft.Lib.UserManagement.VerificationToken.IsFresh C# (CSharp) Méthode

IsFresh() public méthode

public IsFresh ( System.TimeSpan span, System.DateTime now ) : bool
span System.TimeSpan
now System.DateTime
Résultat bool
        public bool IsFresh(TimeSpan span, DateTime now)
        {
            return now.Subtract(span) <= this.Timestamp;
        }

Same methods

VerificationToken::IsFresh ( int days ) : bool