System.Security.PermissionSetTriple.IsEmpty C# (CSharp) 메소드

IsEmpty() 개인적인 메소드

private IsEmpty ( ) : bool
리턴 bool
        internal bool IsEmpty()
        {
            return (AssertSet == null && GrantSet == null && RefusedSet == null);
        }

Usage Example

예제 #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);
     }
 }
All Usage Examples Of System.Security.PermissionSetTriple::IsEmpty