C# 클래스 Zetbox.App.Extensions.BaseCustomActionsManager

A utility class implementing basic operations and caching needed by all CustomActionsManagers.
상속: ICustomActionsManager
파일 보기 프로젝트 열기: daszat/zetbox

보호된 프로퍼티들

프로퍼티 타입 설명
Log log4net.ILog
cfg ZetboxConfig

공개 메소드들

메소드 설명
Init ( IReadOnlyZetboxContext ctx ) : void

Initializes this CustomActionsManager. This method is thread-safe and won't do anything if the ActionsManager is already initialized.

보호된 메소드들

메소드 설명
AttachEvents ( MethodInfo clrMethod, EventInfo clrEvent ) : void

Attach static events using Metadata

BaseCustomActionsManager ( ILifetimeScope container, string extraSuffix, IEnumerable assemblies ) : System

Initialises a new instance of the BaseCustomActionsManager class using the specified extra suffix and the assembly of the actual type of this class.

비공개 메소드들

메소드 설명
CreateDefaultMethodInvocations ( Type implType, DataType dt, string methodName, Type paramTypes ) : void
CreateInvokeInfo ( Type implType, MethodInfo clrMethod, string eventName ) : void
CreateInvokeInfos ( DataType dt, Type implType ) : void
CreateInvokeInfosForAssembly ( DataType objClass ) : void
CreateInvokeInfosForDataTypes ( IReadOnlyZetboxContext metaCtx ) : void

Initializes caches for the provider of the given Context

CreatePropertyInvocations ( Type implType, System.Property prop, string methodPrefix, string invocationType, Type paramTypes ) : void
FindEventBasedMethodAttribute ( Method method, Type implType ) : EventBasedMethodAttribute
FindEventBasedMethodAttribute ( Method method, string execSuffix, Type implType ) : EventBasedMethodAttribute
GetAllMethods ( DataType dt ) : List
ReflectMethodsAndAssets ( IReadOnlyZetboxContext metaCtx ) : void

메소드 상세

AttachEvents() 보호된 메소드

Attach static events using Metadata
protected AttachEvents ( MethodInfo clrMethod, EventInfo clrEvent ) : void
clrMethod System.Reflection.MethodInfo
clrEvent System.Reflection.EventInfo
리턴 void

BaseCustomActionsManager() 보호된 메소드

Initialises a new instance of the BaseCustomActionsManager class using the specified extra suffix and the assembly of the actual type of this class.
protected BaseCustomActionsManager ( ILifetimeScope container, string extraSuffix, IEnumerable assemblies ) : System
container ILifetimeScope
extraSuffix string
assemblies IEnumerable
리턴 System

Init() 공개 메소드

Initializes this CustomActionsManager. This method is thread-safe and won't do anything if the ActionsManager is already initialized.
public Init ( IReadOnlyZetboxContext ctx ) : void
ctx IReadOnlyZetboxContext
리턴 void

프로퍼티 상세

Log 보호되어 있는 정적으로 프로퍼티

protected static log4net.ILog Log
리턴 log4net.ILog

cfg 보호되어 있는 프로퍼티

protected ZetboxConfig cfg
리턴 ZetboxConfig