IsEmpty() private method

private IsEmpty ( ) : bool
return bool
コード例 #1
0
 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);
     }
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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); 
     }
 }