private InvComponentOccurrences(InvComponentOccurrences invComponentOccurrences) { InternalComponentOccurrences = invComponentOccurrences.InternalComponentOccurrences; occurrenceList = new List <InvComponentOccurrence>(); foreach (var occurrenceDef in InternalComponentOccurrences) { occurrenceList.Add(InvComponentOccurrence.ByInvComponentOccurrence((Inventor.ComponentOccurrence)occurrenceDef)); } }
public static InvComponentOccurrences ByInvComponentOccurrences(InvComponentOccurrences invComponentOccurrences) { return(new InvComponentOccurrences(invComponentOccurrences)); }