internal static void AddRange(this X509CrlChainModel list, X509CrlChainModel items) { if (list == null || items == null) { return; } foreach (var item in items.Chain) { list.Chain.Add(item); } }
/// <summary> /// Create collection /// </summary> /// <param name="crls"></param> public static IEnumerable <Crl> ToStackModel(this X509CrlChainModel crls) { return(crls.Chain.Select(c => c.ToStackModel())); }