public global::System.Collections.IEnumerable GetSignaturesForUserAttribute(PgpUserAttributeSubpacketVector userAttributes) { for (int i = 0; i != ((global::System.Collections.ICollection)ids).get_Count(); i++) { if (userAttributes.Equals(ids.get_Item(i))) { return(new EnumerableProxy((global::System.Collections.IEnumerable)(global::System.Collections.IList) idSigs.get_Item(i))); } } return(null); }
/// <summary>Allows enumeration of signatures associated with the passed in user attributes.</summary> /// <param name="userAttributes">The vector of user attributes to be matched.</param> /// <returns>An <c>IEnumerable</c> of <c>PgpSignature</c> objects.</returns> public IEnumerable GetSignaturesForUserAttribute( PgpUserAttributeSubpacketVector userAttributes) { for (int i = 0; i != ids.Count; i++) { if (userAttributes.Equals(ids[i])) { return(new EnumerableProxy((IList)idSigs[i])); } } return(null); }
/// <summary>Allows enumeration of signatures associated with the passed in user attributes.</summary> /// <param name="userAttributes">The vector of user attributes to be matched.</param> /// <returns>An <c>IEnumerable</c> of <c>PgpSignature</c> objects.</returns> public IEnumerable GetSignaturesForUserAttribute( PgpUserAttributeSubpacketVector userAttributes) { for (int i = 0; i != ids.Count; i++) { if (userAttributes.Equals(ids[i])) { return new EnumerableProxy((IList) idSigs[i]); } } return null; }