CmisCmdlets.CmisCommandBase.ValidateSession C# (CSharp) 메소드

ValidateSession() 개인적인 메소드

private ValidateSession ( ISession session ) : void
session ISession
리턴 void
        private void ValidateSession(ISession session)
        {
            if (session == null)
            {
                throw new RuntimeException("Session variable not set. " +
                                           "Did you forget to connect and set a repository?");
            }
        }