我有一個抽象類正在實現3個接口。接口強制抽象類實現其功能
public abstract class ServiceBaseCore<Entity, EntityKey> : MarshalByRefObject, IComponentService, IEntityProvider<Entity, EntityKey>
where Entity : IEntityId<EntityKey>, new()
where EntityKey : IEntityKey, new()
{
// Provided functionality/body to some methods of interface
}
問題:我收到到界面,在這裏爲我所讀的是「如果一個類是抽象的功能錯誤,我的抽象類是不提供的實現(定義/體)比沒有必要爲其實施的接口的所有/任何功能提供實體「。
注意:代碼是由codeSmith生成的,即使它顯示錯誤。
請告訴我我錯在哪裏,我缺少什麼。
謝謝
只需標記你的抽象類中的抽象接口方法。 – 2010-10-15 05:14:01