C# Class Castle.Facilities.Synchronize.SynchronizeMetaInfo

Maintains the synchronization meta-info for a component.
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

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.
Résultat void

GetSynchronizedContextFor() public méthode

Gets the reference to the synchronized context requested by the method.
public GetSynchronizedContextFor ( MethodInfo methodInfo ) : SynchronizeContextReference
methodInfo System.Reflection.MethodInfo The method.
Résultat SynchronizeContextReference

GetUniqueSynchContextReferences() public méthode

Gets the list of unique synchronization context references.
public GetUniqueSynchContextReferences ( ) : IList
Résultat IList

SynchronizeMetaInfo() public méthode

Initializes a new instance of the SynchronizeMetaInfo class.
public SynchronizeMetaInfo ( SynchronizeAttribute defaultSyncAttrib ) : System
defaultSyncAttrib SynchronizeAttribute The default synchronization.
Résultat System