コード例 #1
0
        public static void ModifyRandomMember(this ITypeTemplate template, Authentication authentication)
        {
            var member = template.RandomOrDefault();

            member?.ModifyRandomValue(authentication);
        }
コード例 #2
0
 public static async Task ModifyRandomMemberAsync(this ITypeTemplate template, Authentication authentication)
 {
     var member = template.RandomOrDefault();
     await member?.ModifyRandomValueAsync(authentication);
 }
コード例 #3
0
        public static void RemoveRandomMember(this ITypeTemplate template, Authentication authentication)
        {
            var member = template.RandomOrDefault();

            member?.Delete(authentication);
        }
コード例 #4
0
 public static async Task RemoveRandomMemberAsync(this ITypeTemplate template, Authentication authentication)
 {
     var member = template.RandomOrDefault();
     await member?.DeleteAsync(authentication);
 }