C# Class Castle.Facilities.Synchronize.SynchronizeMetaInfo

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

Public Methods

Method 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 method

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.
return void

GetSynchronizedContextFor() public method

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

GetUniqueSynchContextReferences() public method

Gets the list of unique synchronization context references.
public GetUniqueSynchContextReferences ( ) : IList
return IList

SynchronizeMetaInfo() public method

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