Merge() 공개 메소드

public Merge ( IAuthenticationInfo other ) : void
other IAuthenticationInfo
리턴 void
예제 #1
0
        public void Merge(IAuthenticationInfo other)
        {
            _authcInfo.Merge(other);

            if (other is SimpleAccount)
            {
                var account = (SimpleAccount)other;
                if (account.CredentialsExpired)
                {
                    CredentialsExpired = account.CredentialsExpired;
                }
                if (account.Locked)
                {
                    Locked = true;
                }
            }
        }