예제 #1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="idea">An <see cref="IIdea"/>.</param>
        /// <param name="ideaComment">An <see cref="IComment"/> for the paired Idea.</param>
        public IdeaIdeaCommentPair(IIdea idea, IComment ideaComment)
        {
            idea.ThrowOnNull("idea");
            ideaComment.ThrowOnNull("ideaComment");

            Idea        = idea;
            IdeaComment = ideaComment;
        }
예제 #2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="idea">An <see cref="IIdea"/>.</param>
        /// <param name="ideaVote">An <see cref="IIdeaVote"/> for the paired Idea.</param>
        public IdeaIdeaVotePair(IIdea idea, IIdeaVote ideaVote)
        {
            idea.ThrowOnNull("idea");
            ideaVote.ThrowOnNull("ideaVote");

            Idea     = idea;
            IdeaVote = ideaVote;
        }