Câu 4: 70-486: MCSD Developing ASP.NET MVC 4 Web Applications
You are developing an ASP. NET Core MVC web application. The application includes a C# type named InsuranceID that represents an insurance policy identifier for a customer. Each instance of InsuranceID is five alphanumeric characters followed by a dash and then four numbers (for example, ab12x-2323). You need to ensur…
Nội dung câu hỏi
You are developing an ASP. NET Core MVC web application. The application includes a C# type named InsuranceID that represents an insurance policy identifier for a customer. Each instance of InsuranceID is five alphanumeric characters followed by a dash and then four numbers (for example, ab12x-2323). You need to ensure that Controller actions can accept values of type InsuranceID. What are two possible ways to achieve this goal? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point.
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Implement the IBinderTypeProviderMetadata interface.
- B. Implement the IModeIBinder interface.
- C. Use a TypeConverter object. — đáp án hiện tại
- D. Implement the IBindingSourceMetadata interface.
- E. Implement the ITypeComp interface.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.