コード例 #1
0
        public void AddMovieVersion(MovieVersion movieVersion)
        {
            if (_movieVersions.Exists(m => m.Name == movieVersion.Name))
            {
                throw new Exception("Duplicate");
            }

            _movieVersions.Add(movieVersion);
        }
コード例 #2
0
 public MovieDefinition(MovieVersion movieVersion, MovieFormat movieFormat)
 {
     MovieVersion = movieVersion;
     MovieFormat  = movieFormat;
 }