コード例 #1
0
        public static string GetDescriptionHash(this DynamoDbScoreDataBase self)
        {
            if (self is DynamoDbScoreDataV1 dataV1)
            {
                return(dataV1.DescriptionHash);
            }

            throw new ArgumentException();
        }
コード例 #2
0
        public static List <DynamoDbScorePageV1> GetPages(this DynamoDbScoreDataBase self)
        {
            if (self is DynamoDbScoreDataV1 dataV1)
            {
                return(dataV1.Page);
            }

            throw new ArgumentException();
        }