private void UpdateTripleListAndCreateNewTriple(PermissionSetTriple currentTriple, ArrayList tripleList) { if (!currentTriple.IsEmpty()) { if (m_firstPermSetTriple == null && m_permSetTriples == null) { m_firstPermSetTriple = new PermissionSetTriple(currentTriple); } else { EnsureTriplesListCreated(); m_permSetTriples.Add(new PermissionSetTriple(currentTriple)); } currentTriple.Reset(); } if (tripleList != null) { EnsureTriplesListCreated(); m_permSetTriples.AddRange(tripleList); } }
private void UpdateTripleListAndCreateNewTriple(PermissionSetTriple currentTriple, ArrayList tripleList) { if (!currentTriple.IsEmpty()) { if (this.m_firstPermSetTriple == null && this.m_permSetTriples == null) { this.m_firstPermSetTriple = new PermissionSetTriple(currentTriple); } else { this.EnsureTriplesListCreated(); this.m_permSetTriples.Add((object)new PermissionSetTriple(currentTriple)); } currentTriple.Reset(); } if (tripleList == null) { return; } this.EnsureTriplesListCreated(); this.m_permSetTriples.AddRange((ICollection)tripleList); }