C# 클래스 AutobiographicMemory.AM

상속: ICustomSerialization
파일 보기 프로젝트 열기: GAIPS-INESC-ID/FAtiMA-Toolkit 1 사용 예제들

공개 메소드들

메소드 설명
AssertEventNameValidity ( Name name ) : void
BindCalls ( KB kb ) : void
ForgetEvent ( uint eventId ) : void
GetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
RecallAllEvents ( ) : IEnumerable
RecallEvent ( uint eventId ) : IBaseEvent
RecordEvent ( EventDTO dto ) : IBaseEvent
RecordEvent ( Name eventName, ulong timestamp ) : IBaseEvent
SetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
SwapPerspective ( Name oldPerspective, Name newPerspective ) : void
UpdateEvent ( EventDTO dto ) : IBaseEvent
UpdateEvent ( uint eventId, Name eventName, ulong timestamp ) : IBaseEvent

비공개 메소드들

메소드 설명
AddRecord ( BaseEvent record ) : void
BuildEventNameFromDTO ( EventDTO evt ) : Name
EventAgePropertyCalculator ( IQueryContext context, Name id ) : IEnumerable
EventIdPropertyCalculator ( IQueryContext context, Name type, Name subject, Name def, Name target ) : IEnumerable
LastEventIdPropertyCalculator ( IQueryContext context, Name type, Name subject, Name def, Name target ) : IEnumerable
SaveEventHelper ( uint eventId, Name eventName, ulong timestamp ) : BaseEvent

메소드 상세

AssertEventNameValidity() 공개 정적인 메소드

public static AssertEventNameValidity ( Name name ) : void
name Name
리턴 void

BindCalls() 공개 메소드

public BindCalls ( KB kb ) : void
kb KnowledgeBase.KB
리턴 void

ForgetEvent() 공개 메소드

public ForgetEvent ( uint eventId ) : void
eventId uint
리턴 void

GetObjectData() 공개 메소드

public GetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
dataHolder ISerializationData
context ISerializationContext
리턴 void

RecallAllEvents() 공개 메소드

public RecallAllEvents ( ) : IEnumerable
리턴 IEnumerable

RecallEvent() 공개 메소드

public RecallEvent ( uint eventId ) : IBaseEvent
eventId uint
리턴 IBaseEvent

RecordEvent() 공개 메소드

public RecordEvent ( EventDTO dto ) : IBaseEvent
dto AutobiographicMemory.DTOs.EventDTO
리턴 IBaseEvent

RecordEvent() 공개 메소드

public RecordEvent ( Name eventName, ulong timestamp ) : IBaseEvent
eventName Name
timestamp ulong
리턴 IBaseEvent

SetObjectData() 공개 메소드

public SetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
dataHolder ISerializationData
context ISerializationContext
리턴 void

SwapPerspective() 공개 메소드

public SwapPerspective ( Name oldPerspective, Name newPerspective ) : void
oldPerspective Name
newPerspective Name
리턴 void

UpdateEvent() 공개 메소드

public UpdateEvent ( EventDTO dto ) : IBaseEvent
dto AutobiographicMemory.DTOs.EventDTO
리턴 IBaseEvent

UpdateEvent() 공개 메소드

public UpdateEvent ( uint eventId, Name eventName, ulong timestamp ) : IBaseEvent
eventId uint
eventName Name
timestamp ulong
리턴 IBaseEvent