C# Класс Castle.Facilities.Synchronize.SynchronizeMetaInfo

Maintains the synchronization meta-info for a component.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( MethodInfo method, SynchronizeAttribute syncAttrib ) : void

Adds the synchronizaed method to the store.

GetSynchronizedContextFor ( MethodInfo methodInfo ) : SynchronizeContextReference

Gets the reference to the synchronized context requested by the method.

GetUniqueSynchContextReferences ( ) : IList

Gets the list of unique synchronization context references.

SynchronizeMetaInfo ( SynchronizeAttribute defaultSyncAttrib ) : System

Initializes a new instance of the SynchronizeMetaInfo class.

Описание методов

Add() публичный Метод

Adds the synchronizaed method to the store.
public Add ( MethodInfo method, SynchronizeAttribute syncAttrib ) : void
method System.Reflection.MethodInfo The method.
syncAttrib SynchronizeAttribute The method synchronization.
Результат void

GetSynchronizedContextFor() публичный Метод

Gets the reference to the synchronized context requested by the method.
public GetSynchronizedContextFor ( MethodInfo methodInfo ) : SynchronizeContextReference
methodInfo System.Reflection.MethodInfo The method.
Результат SynchronizeContextReference

GetUniqueSynchContextReferences() публичный Метод

Gets the list of unique synchronization context references.
public GetUniqueSynchContextReferences ( ) : IList
Результат IList

SynchronizeMetaInfo() публичный Метод

Initializes a new instance of the SynchronizeMetaInfo class.
public SynchronizeMetaInfo ( SynchronizeAttribute defaultSyncAttrib ) : System
defaultSyncAttrib SynchronizeAttribute The default synchronization.
Результат System