dlech.SshAgentLib.ISshKeyExt.HasConstraint C# (CSharp) Метод

HasConstraint() публичный статический Метод

public static HasConstraint ( this aKey, Agent aType ) : bool
aKey this
aType Agent
Результат bool
        public static bool HasConstraint(this ISshKey aKey,
      Agent.KeyConstraintType aType)
        {
            return aKey.Constraints.Count(c => c.Type == aType) > 0;
        }