public Principal(UserWorkRequest request, IIdentity identity) { if (request == null) { throw new FatalException("request arguement can't be null."); } if (identity == null) { throw new FatalException("identity arguement can't be null."); } _request = request; _identity = identity; }