API Differences between 4.2.1 and 1.1.0
1406 Additions
89 Removals
Castle.Components.DictionaryAdapter
-
public abstract class AbstractDictionaryAdapter : IDictionary, ICollection, IEnumerable
-
public abstract class AbstractDictionaryAdapterVisitor : IDictionaryAdapterVisitor
- protected bool Cancelled { get; protected set; }
- protected AbstractDictionaryAdapterVisitor()
- protected AbstractDictionaryAdapterVisitor(AbstractDictionaryAdapterVisitor parent)
- protected virtual void VisitCollection(IDictionaryAdapter dictionaryAdapter, PropertyDescriptor property, Type collectionItemType, object state)
- public virtual bool VisitDictionaryAdapter(IDictionaryAdapter dictionaryAdapter, object state)
- public virtual bool VisitDictionaryAdapter(IDictionaryAdapter dictionaryAdapter, Func<PropertyDescriptor, bool> selector, object state)
- protected virtual void VisitInterface(IDictionaryAdapter dictionaryAdapter, PropertyDescriptor property, object state)
- protected virtual void VisitProperty(IDictionaryAdapter dictionaryAdapter, PropertyDescriptor property, object state)
-
public class CascadingDictionaryAdapter : AbstractDictionaryAdapter
-
public class ComponentAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior, IDictionaryPropertyGetter, IDictionaryPropertySetter
-
public class DefaultPropertyGetter : IDictionaryPropertyGetter, IDictionaryBehavior
-
public class DictionaryAdapterAttribute : Attribute
-
public abstract class DictionaryAdapterBase : IDictionaryCreate, IDictionaryAdapter, IDictionaryEdit, IEditableObject, IRevertibleChangeTracking, IChangeTracking, IDictionaryNotify, INotifyPropertyChanging, INotifyPropertyChanged, IDictionaryValidate
- public class TrackPropertyChangeScope : IDisposable
- public bool CanEdit { get; set; }
- public bool CanNotify { get; set; }
- public bool CanValidate { get; set; }
- public bool IsChanged { get; }
- public bool IsEditing { get; }
- public bool IsValid { get; }
- public abstract DictionaryAdapterMeta Meta { get; }
- public bool ShouldNotify { get; }
- public bool SupportsMultiLevelEdit { get; set; }
- public DictionaryAdapterInstance This { get; }
- public IEnumerable<IDictionaryValidator> Validators { get; }
- public event PropertyChangedEventHandler PropertyChanged
- public event PropertyChangingEventHandler PropertyChanging
- public DictionaryAdapterBase(DictionaryAdapterInstance instance)
- public void AcceptChanges()
- protected void AddEditDependency(IEditableObject editDependency)
- public void AddValidator(IDictionaryValidator validator)
- public void BeginEdit()
- public void CancelEdit()
- protected bool ClearEditProperty(PropertyDescriptor property, string key)
- public void ClearProperty(PropertyDescriptor property, string key)
- public T Coerce<T>()
- public object Coerce(Type type)
- public void CopyTo(IDictionaryAdapter other)
- public void CopyTo(IDictionaryAdapter other, Func<PropertyDescriptor, bool> selector)
- public T Create<T>()
- public object Create(Type type)
- public T Create<T>(IDictionary dictionary)
- public object Create(Type type, IDictionary dictionary)
- public T Create<T>(Action<T> init)
- public T Create<T>(IDictionary dictionary, Action<T> init)
- protected bool EditProperty(PropertyDescriptor property, string key, object propertyValue)
- public void EndEdit()
- protected bool GetEditedProperty(string propertyName, out object propertyValue)
- public string GetKey(string propertyName)
- public virtual object GetProperty(string propertyName, bool ifExists)
- public T GetPropertyOfType<T>(string propertyName)
- protected void Initialize()
- protected void NotifyPropertyChanged(PropertyDescriptor property, object oldValue, object newValue)
- protected void NotifyPropertyChanged(string propertyName)
- protected bool NotifyPropertyChanging(PropertyDescriptor property, object oldValue, object newValue)
- public object ReadProperty(string key)
- public void RejectChanges()
- public void ResumeEditing()
- public void ResumeNotifications()
- public virtual bool SetProperty(string propertyName, ref object value)
- public bool ShouldClearProperty(PropertyDescriptor property, object value)
- public void StoreProperty(PropertyDescriptor property, string key, object value)
- public void SuppressEditing()
- public IDisposable SuppressEditingBlock()
- public void SuppressNotifications()
- public IDisposable SuppressNotificationsBlock()
- protected TrackPropertyChangeScope TrackPropertyChange(PropertyDescriptor property, object oldValue, object newValue)
- protected TrackPropertyChangeScope TrackReadonlyPropertyChanges()
- public DictionaryValidateGroup ValidateGroups(object[] groups)
-
public static class DictionaryAdapterExtensions
-
public class DictionaryAdapterFactory : IDictionaryAdapterFactory
- public DictionaryAdapterFactory()
- public T GetAdapter<T>(IDictionary dictionary)
- public object GetAdapter(Type type, IDictionary dictionary)
- public object GetAdapter(Type type, IDictionary dictionary, PropertyDescriptor descriptor)
- public T GetAdapter<T, R>(IDictionary<string, R> dictionary)
- public object GetAdapter<R>(Type type, IDictionary<string, R> dictionary)
- public T GetAdapter<T>(NameValueCollection nameValues)
- public object GetAdapter(Type type, NameValueCollection nameValues)
- public DictionaryAdapterMeta GetAdapterMeta(Type type)
- public DictionaryAdapterMeta GetAdapterMeta(Type type, PropertyDescriptor descriptor)
- public DictionaryAdapterMeta GetAdapterMeta(Type type, DictionaryAdapterMeta other)
-
public class DictionaryAdapterInstance
-
public class DictionaryAdapterMeta
- public object[] Behaviors { get; }
- public IDictionary ExtendedProperties { get; }
- public IDictionaryAdapterFactory Factory { get; }
- public Type Implementation { get; }
- public IDictionaryInitializer[] Initializers { get; }
- public IDictionaryMetaInitializer[] MetaInitializers { get; }
- public IDictionary<string, PropertyDescriptor> Properties { get; }
- public Type Type { get; }
- public DictionaryAdapterMeta(Type type, Type implementation, object[] behaviors, IDictionaryMetaInitializer[] metaInitializers, IDictionaryInitializer[] initializers, IDictionary<string, PropertyDescriptor> properties, IDictionaryAdapterFactory factory, Func<DictionaryAdapterInstance, IDictionaryAdapter> creator)
- public PropertyDescriptor CreateDescriptor()
- public object CreateInstance(IDictionary dictionary, PropertyDescriptor descriptor)
- public DictionaryAdapterMeta GetAdapterMeta(Type type)
-
public abstract class DictionaryBehaviorAttribute : Attribute, IDictionaryBehavior
-
public class DictionaryValidateGroup : IDictionaryValidate, INotifyPropertyChanged, IDisposable
-
public class DynamicDictionary : DynamicObject
-
public abstract class DynamicValue<T> : IDynamicValue<T>, IDynamicValue
-
public class DynamicValueDelegate<T> : DynamicValue<T>
-
public class EditableList : EditableList<object>, IList, ICollection, IEnumerable
-
public class EditableList<T> : List<T>, IEditableObject, IRevertibleChangeTracking, IChangeTracking
-
public class FetchAttribute : Attribute
-
public static class GenericDictionaryAdapter
-
public class GenericDictionaryAdapter<TValue> : AbstractDictionaryAdapter
-
public class GroupAttribute : Attribute
-
public interface IBindingList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public interface ICollectionAdapter<T>
-
public interface ICollectionAdapterObserver<T>
-
public interface ICollectionProjection : ICollection, IEnumerable
-
public interface ICondition
-
public interface IDictionaryAdapter : IDictionaryEdit, IEditableObject, IRevertibleChangeTracking, IChangeTracking, IDictionaryNotify, INotifyPropertyChanging, INotifyPropertyChanged, IDictionaryValidate, IDictionaryCreate
-
public interface IDictionaryAdapterFactory
-
public interface IDictionaryAdapterVisitor
- void VisitCollection(IDictionaryAdapter dictionaryAdapter, PropertyDescriptor property, Type collectionItemType, object state)
- bool VisitDictionaryAdapter(IDictionaryAdapter dictionaryAdapter, object state)
- bool VisitDictionaryAdapter(IDictionaryAdapter dictionaryAdapter, Func<PropertyDescriptor, bool> selector, object state)
- void VisitInterface(IDictionaryAdapter dictionaryAdapter, PropertyDescriptor property, object state)
- void VisitProperty(IDictionaryAdapter dictionaryAdapter, PropertyDescriptor property, object state)
-
public interface IDictionaryBehavior
-
public interface IDictionaryBehaviorBuilder
-
public interface IDictionaryCoerceStrategy
-
public interface IDictionaryCopyStrategy
-
public interface IDictionaryCreate
-
public interface IDictionaryCreateStrategy
-
public interface IDictionaryEdit : IEditableObject, IRevertibleChangeTracking, IChangeTracking
-
public interface IDictionaryEqualityHashCodeStrategy
-
public interface IDictionaryInitializer : IDictionaryBehavior
-
public interface IDictionaryKeyBuilder : IDictionaryBehavior
-
public interface IDictionaryMetaInitializer : IDictionaryBehavior
-
public interface IDictionaryNotify : INotifyPropertyChanging, INotifyPropertyChanged
-
public interface IDictionaryPropertyGetter : IDictionaryBehavior
-
public interface IDictionaryPropertySetter : IDictionaryBehavior
-
public interface IDictionaryReferenceManager
-
public interface IDictionaryValidate
-
public interface IDictionaryValidator
-
public interface IDynamicValue
-
public interface IDynamicValue<T> : IDynamicValue
-
public class IfExistsAttribute : Attribute
-
public interface IPropertyDescriptorInitializer : IDictionaryBehavior
-
public interface IValueInitializer
-
public interface IVirtual
-
public interface IVirtual<T> : IVirtual
-
public interface IVirtualSite<T>
-
public interface IVirtualTarget<TNode, TMember>
-
public class KeyAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public class KeyPrefixAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public class KeySubstitutionAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public class ListProjection<T> : IBindingList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IEditableObject, IRevertibleChangeTracking, IChangeTracking, ICollectionProjection, ICollectionAdapterObserver<T>
-
public class MemberwiseEqualityHashCodeStrategy : DictionaryBehaviorAttribute, IDictionaryEqualityHashCodeStrategy, IDictionaryInitializer, IDictionaryBehavior, IEqualityComparer<IDictionaryAdapter>
-
public class MultiLevelEditAttribute : DictionaryBehaviorAttribute, IDictionaryInitializer, IDictionaryBehavior
-
public class NameValueCollectionAdapter : AbstractDictionaryAdapter
-
public class NewGuidAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior
-
public class OnDemandAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior
-
public class PropertyChangedEventArgsEx : PropertyChangedEventArgs
-
public class PropertyChangingEventArgsEx : PropertyChangingEventArgs
-
public class PropertyDescriptor : IDictionaryKeyBuilder, IDictionaryBehavior, IDictionaryPropertyGetter, IDictionaryPropertySetter
- protected List<IDictionaryBehavior> dictionaryBehaviors
- public object[] Annotations { get; }
- public IEnumerable<IDictionaryBehavior> Behaviors { get; }
- public int ExecutionOrder { get; }
- public IDictionary ExtendedProperties { get; }
- public bool Fetch { get; set; }
- public IEnumerable<IDictionaryPropertyGetter> Getters { get; }
- public bool IfExists { get; set; }
- public IEnumerable<IDictionaryInitializer> Initializers { get; }
- public bool IsDynamicProperty { get; }
- public IEnumerable<IDictionaryKeyBuilder> KeyBuilders { get; }
- public IEnumerable<IDictionaryMetaInitializer> MetaInitializers { get; }
- public PropertyInfo Property { get; }
- public string PropertyName { get; }
- public Type PropertyType { get; }
- public IEnumerable<IDictionaryPropertySetter> Setters { get; }
- public IDictionary State { get; }
- public bool SuppressNotifications { get; set; }
- public TypeConverter TypeConverter { get; }
- public PropertyDescriptor()
- public PropertyDescriptor(PropertyInfo property, object[] annotations)
- public PropertyDescriptor(object[] annotations)
- public PropertyDescriptor(PropertyDescriptor source, bool copyBehaviors)
- public static void MergeBehavior<T>(ref List dictionaryBehaviors, T behavior) where T : IDictionaryBehavior
- public PropertyDescriptor AddBehavior(IDictionaryBehavior behavior)
- public PropertyDescriptor AddBehaviors(IDictionaryBehavior[] behaviors)
- public PropertyDescriptor AddBehaviors(IEnumerable<IDictionaryBehavior> behaviors)
- public IDictionaryBehavior Copy()
- public PropertyDescriptor CopyBehaviors(PropertyDescriptor other)
- public string GetKey(IDictionaryAdapter dictionaryAdapter, string key, PropertyDescriptor descriptor)
- public object GetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, object storedValue, PropertyDescriptor descriptor, bool ifExists)
- public bool SetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, ref object value, PropertyDescriptor descriptor)
-
public class ReferenceAttribute : Attribute
-
public class RemoveIfAttribute : DictionaryBehaviorAttribute, IDictionaryPropertySetter, IDictionaryBehavior
-
public class RemoveIfEmptyAttribute : RemoveIfAttribute
-
public class StringFormatAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior
-
public class StringListAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior, IDictionaryPropertySetter
-
public class StringStorageAttribute : DictionaryBehaviorAttribute, IDictionaryPropertySetter, IDictionaryBehavior
-
public class StringValuesAttribute : DictionaryBehaviorAttribute, IDictionaryPropertySetter, IDictionaryBehavior
-
public class SuppressNotificationsAttribute : DictionaryBehaviorAttribute, IPropertyDescriptorInitializer, IDictionaryBehavior
-
public class TypeKeyPrefixAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public abstract class VirtualObject<TNode> : IVirtual<TNode>, IVirtual
-
public sealed class VirtualSite<TNode, TMember> : IVirtualSite<TNode>, IEquatable<VirtualSite<TNode, TMember>>
-
public class VolatileAttribute : Attribute
-
public class XmlDefaultsAttribute : Attribute
-
public class XmlNamespaceAttribute : Attribute
Castle.Core
Castle.Core.Configuration
Castle.Core.Interceptor
Castle.Core.Internal
Castle.Core.Logging
-
public abstract class AbstractExtendedLoggerFactory : IExtendedLoggerFactory, ILoggerFactory
-
public class ConsoleFactory : ILoggerFactory
-
public class DiagnosticsLogger : LevelFilteredLogger, IDisposable
-
public class DiagnosticsLoggerFactory : AbstractLoggerFactory
-
public interface ILogger
-
public abstract class LevelFilteredLogger : ILogger
- public bool IsFatalErrorEnabled { get; }
- public void Debug(Func<string> messageFactory)
- public void Debug(string format, object[] args)
- public void Error(Func<string> messageFactory)
- public void Error(string format, object[] args)
- public void Fatal(Func<string> messageFactory)
- public void Fatal(string format, object[] args)
- public void FatalError(string message)
- public void FatalError(string message, Exception exception)
- public void FatalError(string format, object[] args)
- public void Info(Func<string> messageFactory)
- public void Info(string format, object[] args)
- public void Warn(Func<string> messageFactory)
- public void Warn(string format, object[] args)
-
public class LoggerException : Exception
-
public class NullLogger : IExtendedLogger, ILogger
- public bool IsFatalErrorEnabled { get; }
- public void Debug(Func<string> messageFactory)
- public void Debug(string format, object[] args)
- public void Error(Func<string> messageFactory)
- public void Error(string format, object[] args)
- public void Fatal(Func<string> messageFactory)
- public void Fatal(string format, object[] args)
- public void FatalError(string message)
- public void FatalError(string message, Exception exception)
- public void FatalError(string format, object[] args)
- public void Info(Func<string> messageFactory)
- public void Info(string format, object[] args)
- public void Warn(Func<string> messageFactory)
- public void Warn(string format, object[] args)
-
public class WebLogger : LevelFilteredLogger
-
public class WebLoggerFactory : AbstractLoggerFactory
Castle.Core.Logging.Factories
Castle.Core.Resource
Castle.DynamicProxy
-
public abstract class AbstractInvocation : IInvocation
-
public class AllMethodsHook : IProxyGenerationHook
-
public class CustomAttributeInfo : IEquatable<CustomAttributeInfo>
- public CustomAttributeInfo(ConstructorInfo constructor, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues, FieldInfo[] namedFields, object[] fieldValues)
- public CustomAttributeInfo(ConstructorInfo constructor, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues)
- public CustomAttributeInfo(ConstructorInfo constructor, object[] constructorArgs, FieldInfo[] namedFields, object[] fieldValues)
- public CustomAttributeInfo(ConstructorInfo constructor, object[] constructorArgs)
- public static CustomAttributeInfo FromExpression(Expression<Func<Attribute>> expression)
- public bool Equals(CustomAttributeInfo other)
-
public class DefaultProxyBuilder : IProxyBuilder
- public ILogger Logger { get; set; }
- public ModuleScope ModuleScope { get; }
- public DefaultProxyBuilder()
- public DefaultProxyBuilder(ModuleScope scope)
- public Type CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- public Type CreateClassProxyTypeWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- public Type CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- public Type CreateInterfaceProxyTypeWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, Type targetType, ProxyGenerationOptions options)
- public Type CreateInterfaceProxyTypeWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
-
public interface IChangeProxyTarget
-
public interface IInterceptor
-
public interface IInterceptorSelector
-
public interface IInvocation
-
public class InvalidMixinConfigurationException : Exception
-
public class InvalidProxyConstructorArgumentsException : ArgumentException
-
public interface IProxyBuilder
- ILogger Logger { get; set; }
- ModuleScope ModuleScope { get; }
- Type CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- Type CreateClassProxyTypeWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- Type CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- Type CreateInterfaceProxyTypeWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, Type targetType, ProxyGenerationOptions options)
- Type CreateInterfaceProxyTypeWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
-
public interface IProxyGenerationHook
-
public interface IProxyGenerator
- ILogger Logger { get; set; }
- IProxyBuilder ProxyBuilder { get; }
- TClass CreateClassProxy<TClass>(IInterceptor[] interceptors)
- TClass CreateClassProxy<TClass>(ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, object[] constructorArguments, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- TClass CreateClassProxyWithTarget<TClass>(TClass target, IInterceptor[] interceptors)
- TClass CreateClassProxyWithTarget<TClass>(TClass target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, object target, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, object target, object[] constructorArguments, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, object target, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- TInterface CreateInterfaceProxyWithoutTarget<TInterface>(IInterceptor interceptor)
- TInterface CreateInterfaceProxyWithoutTarget<TInterface>(IInterceptor[] interceptors)
- TInterface CreateInterfaceProxyWithoutTarget<TInterface>(ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, IInterceptor interceptor)
- object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- TInterface CreateInterfaceProxyWithTarget<TInterface>(TInterface target, IInterceptor[] interceptors)
- TInterface CreateInterfaceProxyWithTarget<TInterface>(TInterface target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTarget(Type interfaceToProxy, object target, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTarget(Type interfaceToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, object target, IInterceptor[] interceptors)
- TInterface CreateInterfaceProxyWithTargetInterface<TInterface>(TInterface target, IInterceptor[] interceptors)
- TInterface CreateInterfaceProxyWithTargetInterface<TInterface>(TInterface target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
-
public interface IProxyTargetAccessor
-
public class MixinData
-
public class ModuleScope
- public static readonly string DEFAULT_ASSEMBLY_NAME
- public static readonly string DEFAULT_FILE_NAME
- public Lock Lock { get; }
- public INamingScope NamingScope { get; }
- public ModuleBuilder StrongNamedModule { get; }
- public string StrongNamedModuleName { get; }
- public ModuleBuilder WeakNamedModule { get; }
- public string WeakNamedModuleName { get; }
- public ModuleScope()
- public ModuleScope(bool savePhysicalAssembly)
- public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule)
- public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule, string strongAssemblyName, string strongModulePath, string weakAssemblyName, string weakModulePath)
- public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule, INamingScope namingScope, string strongAssemblyName, string strongModulePath, string weakAssemblyName, string weakModulePath)
- public static byte[] GetKeyPair()
- public TypeBuilder DefineType(bool inSignedModulePreferably, string name, TypeAttributes flags)
- public Type GetFromCache(CacheKey key)
- public ModuleBuilder ObtainDynamicModule(bool isStrongNamed)
- public ModuleBuilder ObtainDynamicModuleWithStrongName()
- public ModuleBuilder ObtainDynamicModuleWithWeakName()
- public void RegisterInCache(CacheKey key, Type type)
-
public class ProxyGenerationException : Exception
-
public class ProxyGenerationOptions
-
public class ProxyGenerator : IProxyGenerator
- public ILogger Logger { get; set; }
- public IProxyBuilder ProxyBuilder { get; }
- public ProxyGenerator(IProxyBuilder builder)
- public ProxyGenerator()
- public ProxyGenerator(bool disableSignedModule)
- protected List<object> BuildArgumentListForClassProxy(ProxyGenerationOptions options, IInterceptor[] interceptors)
- protected List<object> BuildArgumentListForClassProxyWithTarget(object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- protected void CheckNotGenericTypeDefinition(Type type, string argumentName)
- protected void CheckNotGenericTypeDefinitions(IEnumerable<Type> types, string argumentName)
- public TClass CreateClassProxy<TClass>(IInterceptor[] interceptors)
- public TClass CreateClassProxy<TClass>(ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, IInterceptor[] interceptors)
- public object CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- public object CreateClassProxy(Type classToProxy, object[] constructorArguments, IInterceptor[] interceptors)
- public object CreateClassProxy(Type classToProxy, IInterceptor[] interceptors)
- public object CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public virtual object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- protected object CreateClassProxyInstance(Type proxyType, List<object> proxyArguments, Type classToProxy, object[] constructorArguments)
- protected Type CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- protected Type CreateClassProxyTypeWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- public TClass CreateClassProxyWithTarget<TClass>(TClass target, IInterceptor[] interceptors)
- public TClass CreateClassProxyWithTarget<TClass>(TClass target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)
- public object CreateClassProxyWithTarget(Type classToProxy, object target, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- public object CreateClassProxyWithTarget(Type classToProxy, object target, object[] constructorArguments, IInterceptor[] interceptors)
- public object CreateClassProxyWithTarget(Type classToProxy, object target, IInterceptor[] interceptors)
- public object CreateClassProxyWithTarget(Type classToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public virtual object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)
- protected Type CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- protected Type CreateInterfaceProxyTypeWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, Type targetType, ProxyGenerationOptions options)
- protected Type CreateInterfaceProxyTypeWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- public TInterface CreateInterfaceProxyWithoutTarget<TInterface>(IInterceptor interceptor)
- public TInterface CreateInterfaceProxyWithoutTarget<TInterface>(IInterceptor[] interceptors)
- public TInterface CreateInterfaceProxyWithoutTarget<TInterface>(ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, IInterceptor interceptor)
- public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public virtual object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public TInterface CreateInterfaceProxyWithTarget<TInterface>(TInterface target, IInterceptor[] interceptors)
- public TInterface CreateInterfaceProxyWithTarget<TInterface>(TInterface target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithTarget(Type interfaceToProxy, object target, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithTarget(Type interfaceToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)
- public virtual object CreateInterfaceProxyWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, object target, IInterceptor[] interceptors)
- public TInterface CreateInterfaceProxyWithTargetInterface<TInterface>(TInterface target, IInterceptor[] interceptors)
- public TInterface CreateInterfaceProxyWithTargetInterface<TInterface>(TInterface target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)
- public object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- public virtual object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)
- protected List<object> GetConstructorArguments(object target, IInterceptor[] interceptors, ProxyGenerationOptions options)
-
public static class ProxyUtil
-
public class StandardInterceptor : IInterceptor
Castle.DynamicProxy.Contributors
Castle.DynamicProxy.Generators
-
public static class AttributesToAvoidReplicating
- public static void Add(Type attribute)
- public static void Add<T>()
- public static bool Contains(Type attribute)
-
public abstract class BaseProxyGenerator
- protected readonly Type targetType
- public ILogger Logger { get; set; }
- protected ProxyGenerationOptions ProxyGenerationOptions { get; protected set; }
- protected ModuleScope Scope { get; }
- protected BaseProxyGenerator(ModuleScope scope, Type targetType)
- protected void AddMapping(Type interface, ITypeContributor implementer, IDictionary<Type, ITypeContributor> mapping)
- protected void AddMappingNoCheck(Type interface, ITypeContributor implementer, IDictionary<Type, ITypeContributor> mapping)
- protected void AddToCache(CacheKey key, Type type)
- protected virtual ClassEmitter BuildClassEmitter(string typeName, Type parentType, IEnumerable<Type> interfaces)
- protected void CheckNotGenericTypeDefinition(Type type, string argumentName)
- protected void CheckNotGenericTypeDefinitions(IEnumerable<Type> types, string argumentName)
- protected void CompleteInitCacheMethod(ConstructorCodeBuilder constCodeBuilder)
- protected virtual void CreateFields(ClassEmitter emitter)
- protected void CreateInterceptorsField(ClassEmitter emitter)
- protected FieldReference CreateOptionsField(ClassEmitter emitter)
- protected void CreateSelectorField(ClassEmitter emitter)
- protected virtual void CreateTypeAttributes(ClassEmitter emitter)
- protected void EnsureOptionsOverrideEqualsAndGetHashCode(ProxyGenerationOptions options)
- protected void GenerateConstructor(ClassEmitter emitter, ConstructorInfo baseConstructor, FieldReference[] fields)
- protected void GenerateConstructors(ClassEmitter emitter, Type baseType, FieldReference[] fields)
- protected void GenerateParameterlessConstructor(ClassEmitter emitter, Type baseClass, FieldReference interceptorField)
- protected ConstructorEmitter GenerateStaticConstructor(ClassEmitter emitter)
- protected Type GetFromCache(CacheKey key)
- protected void HandleExplicitlyPassedProxyTargetAccessor(ICollection<Type> targetInterfaces, ICollection<Type> additionalInterfaces)
- protected void InitializeStaticFields(Type builtType)
- protected Type ObtainProxyType(CacheKey cacheKey, Func<string, INamingScope, Type> factory)
-
public class CacheKey
-
public class ClassProxyGenerator : BaseProxyGenerator
-
public class ClassProxyWithTargetGenerator : BaseProxyGenerator
-
public class CompositionInvocationTypeGenerator : InvocationTypeGenerator
-
public class DelegateMembersCollector : MembersCollector
-
public class DelegateProxyGenerationHook : IProxyGenerationHook
-
public class DelegateProxyGenerator : BaseProxyGenerator
-
public class GeneratorException : Exception
-
public static class GeneratorUtil
-
public interface IGenerator<T>
-
public interface IInvocationCreationContributor
-
public interface INamingScope
-
public class InheritanceInvocationTypeGenerator : InvocationTypeGenerator
-
public class InterfaceProxyWithoutTargetGenerator : InterfaceProxyWithTargetGenerator
-
public class InterfaceProxyWithTargetGenerator : BaseProxyGenerator
- protected FieldReference targetField
- protected virtual bool AllowChangeTarget { get; }
- protected virtual string GeneratorType { get; }
- public InterfaceProxyWithTargetGenerator(ModuleScope scope, Type interface)
- protected virtual ITypeContributor AddMappingForTargetType(IDictionary<Type, ITypeContributor> typeImplementerMapping, Type proxyTargetType, ICollection<Type> targetInterfaces, ICollection<Type> additionalInterfaces, INamingScope namingScope)
- public Type GenerateCode(Type proxyTargetType, Type[] interfaces, ProxyGenerationOptions options)
- protected virtual Type GenerateType(string typeName, Type proxyTargetType, Type[] interfaces, INamingScope namingScope)
- protected virtual InterfaceProxyWithoutTargetContributor GetContributorForAdditionalInterfaces(INamingScope namingScope)
- protected virtual IEnumerable<Type> GetTypeImplementerMapping(Type[] interfaces, Type proxyTargetType, out IEnumerable contributors, INamingScope namingScope)
- protected virtual Type Init(string typeName, out ClassEmitter emitter, Type proxyTargetType, out FieldReference interceptorsField, IEnumerable<Type> interfaces)
-
public class InterfaceProxyWithTargetInterfaceGenerator : InterfaceProxyWithTargetGenerator
-
public abstract class InvocationTypeGenerator : IGenerator<AbstractTypeEmitter>
- protected readonly MetaMethod method
- protected readonly Type targetType
- protected InvocationTypeGenerator(Type targetType, MetaMethod method, MethodInfo callback, bool canChangeTarget, IInvocationCreationContributor contributor)
- public AbstractTypeEmitter Generate(ClassEmitter class, ProxyGenerationOptions options, INamingScope namingScope)
- protected abstract ArgumentReference[] GetBaseCtorArguments(Type targetFieldType, ProxyGenerationOptions proxyGenerationOptions, out ConstructorInfo baseConstructor)
- protected abstract Type GetBaseType()
- protected virtual MethodInvocationExpression GetCallbackMethodInvocation(AbstractTypeEmitter invocation, Expression[] args, MethodInfo callbackMethod, Reference targetField, MethodEmitter invokeMethodOnTarget)
- protected abstract FieldReference GetTargetReference()
- protected virtual void ImplementInvokeMethodOnTarget(AbstractTypeEmitter invocation, ParameterInfo[] parameters, MethodEmitter invokeMethodOnTarget, Reference targetField)
-
public class MetaEvent : MetaTypeElement, IEquatable<MetaEvent>
-
public class MetaMethod : MetaTypeElement, IEquatable<MetaMethod>
-
public class MetaProperty : MetaTypeElement, IEquatable<MetaProperty>
-
public class MetaType
-
public abstract class MetaTypeElement
-
public class MethodFinder
-
public abstract class MethodGenerator : IGenerator<MethodEmitter>
-
public class MethodSignatureComparer : IEqualityComparer<MethodInfo>
-
public class MethodWithInvocationGenerator : MethodGenerator
-
public class NamingScope : INamingScope
-
public class TypeElementCollection<TElement> : ICollection<TElement>, IEnumerable<TElement>, IEnumerable where TElement : MetaTypeElement, IEquatable<TElement>
Castle.DynamicProxy.Generators.Emitters
-
public abstract class AbstractTypeEmitter
- public Type BaseType { get; }
- public TypeConstructorEmitter ClassConstructor { get; }
- public ConstructorCollection Constructors { get; }
- public GenericTypeParameterBuilder[] GenericTypeParams { get; }
- public NestedClassCollection Nested { get; }
- public TypeBuilder TypeBuilder { get; }
- protected AbstractTypeEmitter(TypeBuilder typeBuilder)
- public void AddCustomAttributes(ProxyGenerationOptions proxyGenerationOptions)
- public virtual Type BuildType()
- public void CopyGenericParametersFromMethod(MethodInfo methodToCopyGenericsFrom)
- public ConstructorEmitter CreateConstructor(ArgumentReference[] arguments)
- public void CreateDefaultConstructor()
- public EventEmitter CreateEvent(string name, EventAttributes atts, Type type)
- public FieldReference CreateField(string name, Type fieldType)
- public FieldReference CreateField(string name, Type fieldType, bool serializable)
- public FieldReference CreateField(string name, Type fieldType, FieldAttributes atts)
- public MethodEmitter CreateMethod(string name, MethodAttributes attrs, Type returnType, Type[] argumentTypes)
- public MethodEmitter CreateMethod(string name, Type returnType, Type[] parameterTypes)
- public MethodEmitter CreateMethod(string name, MethodInfo methodToUseAsATemplate)
- public MethodEmitter CreateMethod(string name, MethodAttributes attributes, MethodInfo methodToUseAsATemplate)
- public PropertyEmitter CreateProperty(string name, PropertyAttributes attributes, Type propertyType, Type[] arguments)
- public FieldReference CreateStaticField(string name, Type fieldType)
- public FieldReference CreateStaticField(string name, Type fieldType, FieldAttributes atts)
- protected Type CreateType(TypeBuilder type)
- public ConstructorEmitter CreateTypeConstructor()
- public void DefineCustomAttribute(CustomAttributeBuilder attribute)
- public void DefineCustomAttribute<TAttribute>(object[] constructorArguments) where TAttribute : Attribute
- public void DefineCustomAttribute<TAttribute>() where TAttribute : Attribute
- public void DefineCustomAttributeFor<TAttribute>(FieldReference field) where TAttribute : Attribute
- protected virtual void EnsureBuildersAreInAValidState()
- public IEnumerable<FieldReference> GetAllFields()
- public FieldReference GetField(string name)
- public Type GetGenericArgument(string genericArgumentName)
- public Type[] GetGenericArgumentsFor(Type genericType)
- public Type[] GetGenericArgumentsFor(MethodInfo genericMethod)
- public void SetGenericTypeParameters(GenericTypeParameterBuilder[] genericTypeParameterBuilders)
-
public abstract class ArgumentsUtil
-
public class ClassEmitter : AbstractTypeEmitter
- public ModuleScope ModuleScope { get; }
- public ClassEmitter(ModuleScope modulescope, string name, Type baseType, IEnumerable<Type> interfaces)
- public ClassEmitter(ModuleScope modulescope, string name, Type baseType, IEnumerable<Type> interfaces, TypeAttributes flags)
- public ClassEmitter(ModuleScope modulescope, string name, Type baseType, IEnumerable<Type> interfaces, TypeAttributes flags, bool forceUnsigned)
- public ClassEmitter(TypeBuilder typeBuilder)
- protected virtual IEnumerable<Type> InitializeGenericArgumentsFromBases(ref Type baseType, IEnumerable<Type> interfaces)
-
public class ConstructorCollection : Collection<ConstructorEmitter>
-
public class ConstructorEmitter : IMemberEmitter
-
public class EventCollection : Collection<EventEmitter>
-
public class EventEmitter : IMemberEmitter
-
public interface IMemberEmitter
-
public sealed class LdcOpCodesDictionary : Dictionary<Type, OpCode>
-
public sealed class LdindOpCodesDictionary : Dictionary<Type, OpCode>
-
public class MethodCollection : Collection<MethodEmitter>
-
public class MethodEmitter : IMemberEmitter
-
public class NestedClassCollection : Collection<NestedClassEmitter>
-
public class NestedClassEmitter : AbstractTypeEmitter
-
public class PropertiesCollection : Collection<PropertyEmitter>
-
public class PropertyEmitter : IMemberEmitter
- public MemberInfo Member { get; }
- public Type ReturnType { get; }
- public PropertyEmitter(AbstractTypeEmitter parentTypeEmitter, string name, PropertyAttributes attributes, Type propertyType, Type[] arguments)
- public MethodEmitter CreateGetMethod(string name, MethodAttributes attrs, MethodInfo methodToOverride, Type[] parameters)
- public MethodEmitter CreateGetMethod(string name, MethodAttributes attributes, MethodInfo methodToOverride)
- public MethodEmitter CreateSetMethod(string name, MethodAttributes attrs, MethodInfo methodToOverride, Type[] parameters)
- public MethodEmitter CreateSetMethod(string name, MethodAttributes attributes, MethodInfo methodToOverride)
- public void DefineCustomAttribute(CustomAttributeBuilder attribute)
- public void EnsureValidCodeBlock()
- public void Generate()
-
public sealed class StindOpCodesDictionary : Dictionary<Type, OpCode>
-
public static class StrongNameUtil
-
public class TypeConstructorEmitter : ConstructorEmitter
Castle.DynamicProxy.Generators.Emitters.CodeBuilders
Castle.DynamicProxy.Generators.Emitters.SimpleAST
Castle.DynamicProxy.Internal
Castle.DynamicProxy.Tokens