예제 #1
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(IHrbcFieldIdResolver fieldIdResolver, IEnumerable <CreateRecordRequest.Contents> records)
 {
     return(CreateRecordRequest.Builder().Append(records).WithFieldIdResolver(fieldIdResolver));
 }
예제 #2
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(IHrbcFieldIdResolver fieldIdResolver, IEnumerable <CreateRecordRequest.IContentBuilder> records)
 {
     return(CreateRecordRequest.Builder().Append(records.Select(builder => builder.Build())).WithFieldIdResolver(fieldIdResolver));
 }
예제 #3
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(IEnumerable <CreateRecordRequest.Contents> records)
 {
     return(CreateRecordRequest.Builder().Append(records).Build());
 }
예제 #4
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(IEnumerable <CreateRecordRequest.IContentBuilder> records)
 {
     return(CreateRecordRequest.Builder().Append(records.Select(builder => builder.Build())).Build());
 }
예제 #5
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(CreateRecordRequest request)
 {
     return(new Request <CreateRecordRequest, CreateRecordResponse>("private.resource.record.create", request));
 }
예제 #6
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(params CreateRecordRequest.Contents[] records)
 {
     return(CreateRecordRequest.Builder().Append(records).Build());
 }
예제 #7
0
 public static CreateRecordRequest.IBuilder CreateRecords()
 {
     return(CreateRecordRequest.Builder());
 }
예제 #8
0
 /// <summary>
 /// Create a record content builder for this resource id
 /// </summary>
 /// <param name="resource">The resource id of the content</param>
 /// <returns>A record content builder</returns>
 public static CreateRecordRequest.IContentBuilder ToRecordBuilder(this ResourceId resource)
 {
     return(CreateRecordRequest.RecordBuilder(resource));
 }
예제 #9
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(FieldIdResolver fieldIdResolver, params CreateRecordRequest.IContentBuilder[] records)
 {
     return(CreateRecordRequest.Builder().Append(records.Select(builder => builder.Build())).WithFieldIdResolver(fieldIdResolver));
 }
예제 #10
0
 public static IRequest <CreateRecordRequest, CreateRecordResponse> CreateRecords(FieldIdResolver fieldIdResolver, params CreateRecordRequest.Contents[] records)
 {
     return(CreateRecordRequest.Builder().Append(records).WithFieldIdResolver(fieldIdResolver));
 }
예제 #11
0
 public static IRequest <CreateRecordRequest.WithoutResolver, CreateRecordResponse> CreateRecords(IEnumerable <CreateRecordRequest.Contents> records)
 {
     return(CreateRecordRequest.Builder().Append(records).WithoutFieldIdResolver());
 }