은 내가 _Conditions의 IEnumerable을 정의 컴파일 오류가 계속이왜이 일반 인터페이스 정의가 잘못 되었습니까?
public interface IPropertyGroupCollection
{
IEnumerable<IPropertyGroup> _Propertygroups { get;}
}
public interface IPropertyGroup
{
IEnumerable<IProperty<T, U, V>> _conditions { get; }
}
public interface IProperty<T, U, V>
{
T _p1 { get; }
U _p2 { get; }
V _p3 { get; }
}
public class Property<T, U, V> : IProperty<T, U, V>
{
//Some Implementation
}
같이 보입니다 인터페이스를 작성하려합니다.
내가 뭘 잘못하고 있니? 아이디어는 구현하는 클래스는 T, U 및 V를 선언하지 않은 그것 때문에 일반적인 속성 모음 모음
이 object''모든 제네릭를 교체하고 사용자가 설정된다. – ja72