WCF RIA Services에는 AuthenticationBase
클래스가 있습니다.new()는 무엇을 의미합니까?
// assume using System.ServiceModel.DomainServices.Server.ApplicationServices
public abstract class AuthenticationBase<T>
: DomainService, IAuthentication<T>
where T : IUser, new()
는 new()
이 코드에 무엇을 의미 하는가 다음과 같이 클래스 정의는?
십대 위닝 교정 : 유형에 제네릭 유형 * 인수 *로 사용하기 위해 이러한 기능이 있어야합니다. 'T'는 제네릭 타입 * 매개 변수입니다. 그러나 실제로 사용되는 타입 (예 :'object','int')은 타입 인자입니다. –
@Jon, 정식으로 고맙습니다. :) –