API Differences between 2.5.2 and 1.2.0
1348 Additions
51 Removals
Castle.Components.DictionaryAdapter
-
public abstract class AbstractDictionaryAdapter : IDictionary, ICollection, IEnumerable
-
public abstract class AbstractDictionaryAdapterVisitor : IDictionaryAdapterVisitor
-
public class BehaviorVisitor
- public BehaviorVisitor()
- public void Apply(IEnumerable behaviors)
- public BehaviorVisitor Match<T>(Func<T, bool> match, Func<T, bool> apply)
- public BehaviorVisitor Match<T>(Func<T, bool> match, Action<T> apply)
- public BehaviorVisitor Match(Func<object, bool> match, Func<object, bool> apply)
- public BehaviorVisitor Match(Func<object, bool> match, Action<object> apply)
- public BehaviorVisitor OfType<T>(Func<T, bool> apply)
- public BehaviorVisitor OfType<T>(Action<T> apply)
-
public class BindingListInitializer<T> : IValueInitializer
-
public class CascadingDictionaryAdapter : AbstractDictionaryAdapter
-
public class ComponentAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryPropertyGetter, IDictionaryPropertySetter, IDictionaryBehavior
-
public class DefaultPropertyGetter : IDictionaryPropertyGetter, IDictionaryBehavior
-
public class DefaultXmlSerializer : IXPathSerializer
-
public class DictionaryAdapterAttribute : Attribute
-
public abstract class DictionaryAdapterBase : IDictionaryAdapter, IDictionaryEdit, IEditableObject, IRevertibleChangeTracking, IChangeTracking, IDictionaryNotify, INotifyPropertyChanging, IDictionaryCreate, IDictionaryValidate, IDataErrorInfo, INotifyPropertyChanged
- public class TrackPropertyChangeScope : IDisposable
- public bool CanEdit { get; set; }
- public bool CanNotify { get; set; }
- public bool CanValidate { get; set; }
- public string Error { get; }
- public bool IsChanged { get; }
- public bool IsEditing { get; }
- public bool IsValid { get; }
- public string this[string columnName] { get; }
- public abstract DictionaryAdapterMeta Meta { get; }
- public bool PropagateChildNotifications { get; set; }
- 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 void CopyTo(IDictionaryAdapter other)
- public void CopyTo(IDictionaryAdapter other, Predicate<PropertyDescriptor> 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 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 class DictionaryAdapterFactory : IDictionaryAdapterFactory
- public DictionaryAdapterFactory()
- public static string GetSafeTypeFullName(Type type)
- public static string GetSafeTypeName(Type type)
- 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 T GetAdapter<T>(IXPathNavigable xpathNavigable)
- public object GetAdapter(Type type, IXPathNavigable xpathNavigable)
- public DictionaryAdapterMeta GetAdapterMeta(Type type)
- public DictionaryAdapterMeta GetAdapterMeta(Type type, PropertyDescriptor descriptor)
-
public class DictionaryAdapterInstance
-
public class DictionaryAdapterMeta
-
public abstract class DictionaryBehaviorAttribute : Attribute, IDictionaryBehavior
-
public class DictionaryDescriptor : PropertyDescriptor
-
public class DictionaryValidateGroup : IDictionaryValidate, IDataErrorInfo, INotifyPropertyChanged, IDisposable
-
public abstract class DynamicValue<T> : IDynamicValue<T>, IDynamicValue
-
public class DynamicValueDelegate<T> : DynamicValue<T>
-
public class EditableBindingList<T> : BindingList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IEditableObject, IRevertibleChangeTracking, IChangeTracking
-
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 IDictionaryAdapter : IDictionaryEdit, IEditableObject, IRevertibleChangeTracking, IChangeTracking, IDictionaryNotify, INotifyPropertyChanging, IDictionaryValidate, IDataErrorInfo, INotifyPropertyChanged, IDictionaryCreate
-
public interface IDictionaryAdapterFactory
-
public interface IDictionaryAdapterVisitor
-
public interface IDictionaryBehavior
-
public interface IDictionaryBehaviorBuilder
-
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 IDictionaryValidate : IDataErrorInfo, INotifyPropertyChanged
-
public interface IDictionaryValidator
-
public interface IDynamicValue
-
public interface IDynamicValue<T> : IDynamicValue
-
public interface IPropertyDescriptorInitializer : IDictionaryBehavior
-
public interface IValueInitializer
-
public interface IXPathSerializer
-
public class KeyAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public class KeyPrefixAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public class KeySubstitutionAttribute : DictionaryBehaviorAttribute, IDictionaryKeyBuilder, IDictionaryBehavior
-
public class MultiLevelEditAttribute : DictionaryBehaviorAttribute, IDictionaryInitializer, IDictionaryBehavior
-
public class NameValueCollectionAdapter : AbstractDictionaryAdapter
-
public class NewGuidAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior
-
public class OnDemandAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior
-
public class PropagateNotificationsAttribute : DictionaryBehaviorAttribute, IDictionaryInitializer, IDictionaryBehavior
-
public class PropertyDescriptor : IDictionaryKeyBuilder, IDictionaryPropertyGetter, IDictionaryPropertySetter, IDictionaryBehavior
- public object[] Behaviors { get; }
- public int ExecutionOrder { get; }
- public bool Fetch { get; set; }
- public ICollection<IDictionaryPropertyGetter> Getters { get; }
- public bool IsDynamicProperty { get; }
- public ICollection<IDictionaryKeyBuilder> KeyBuilders { get; }
- public PropertyInfo Property { get; }
- public string PropertyName { get; }
- public Type PropertyType { get; }
- public ICollection<IDictionaryPropertySetter> Setters { get; }
- public IDictionary State { get; }
- public bool SuppressNotifications { get; set; }
- public TypeConverter TypeConverter { get; }
- public PropertyDescriptor()
- public PropertyDescriptor(PropertyInfo property, object[] behaviors)
- public PropertyDescriptor(PropertyDescriptor source, bool copyBehaviors)
- public PropertyDescriptor AddBehavior(IDictionaryBehavior[] behaviors)
- public PropertyDescriptor AddBehaviors(IEnumerable<IDictionaryBehavior> behaviors)
- public PropertyDescriptor AddBehaviors(IDictionaryBehaviorBuilder[] builders)
- public PropertyDescriptor AddGetter(IDictionaryPropertyGetter[] getters)
- public PropertyDescriptor AddGetters(IEnumerable<IDictionaryPropertyGetter> gets)
- public PropertyDescriptor AddKeyBuilder(IDictionaryKeyBuilder[] builders)
- public PropertyDescriptor AddKeyBuilders(IEnumerable<IDictionaryKeyBuilder> builders)
- public PropertyDescriptor AddSetter(IDictionaryPropertySetter[] setters)
- public PropertyDescriptor AddSetters(IEnumerable<IDictionaryPropertySetter> sets)
- public virtual PropertyDescriptor CopyBehaviors(PropertyDescriptor other)
- public PropertyDescriptor CopyBehaviors(PropertyDescriptor other, Func<IDictionaryBehavior, bool> selector)
- public PropertyDescriptor CopyGetters(PropertyDescriptor other)
- public PropertyDescriptor CopyGetters(PropertyDescriptor other, Func<IDictionaryPropertyGetter, bool> selector)
- public PropertyDescriptor CopyKeyBuilders(PropertyDescriptor other)
- public PropertyDescriptor CopyKeyBuilders(PropertyDescriptor other, Func<IDictionaryKeyBuilder, bool> selector)
- public PropertyDescriptor CopySetters(PropertyDescriptor other)
- public PropertyDescriptor CopySetters(PropertyDescriptor other, Func<IDictionaryPropertySetter, bool> selector)
- public string GetKey(IDictionaryAdapter dictionaryAdapter, string key, PropertyDescriptor descriptor)
- public object GetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, object storedValue, PropertyDescriptor descriptor, bool ifExists)
- protected virtual void InternalAddBehavior(IDictionaryBehavior behavior)
- public bool SetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, ref object value, PropertyDescriptor descriptor)
-
public class PropertyModifiedEventArgs : PropertyChangedEventArgs
-
public class PropertyModifyingEventArgs : PropertyChangingEventArgs
-
public sealed delegate PropertyModifyingEventHandler : MulticastDelegate
-
public class StringFormatAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryBehavior
-
public class StringListAttribute : DictionaryBehaviorAttribute, IDictionaryPropertyGetter, IDictionaryPropertySetter, IDictionaryBehavior
-
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 class XmlMetadata
-
public class XmlNamespaceAttribute : Attribute
-
public class XPathAdapter : DictionaryBehaviorAttribute, IDictionaryInitializer, IDictionaryPropertyGetter, IDictionaryPropertySetter, IDictionaryBehavior, IDictionaryCreateStrategy
-
public class XPathAttribute : Attribute
-
public class XPathBehavior : DictionaryBehaviorAttribute, IDictionaryMetaInitializer, IDictionaryBehavior
-
public class XPathContext : XsltContext
- public class MatchFunction : IXsltContextFunction
- public class XPathVariable : IXsltContextVariable
- public const string IgnoreNamespace = "_"
- public const string NamespaceUri = "urn:castleproject.org:da"
- public const string Prefix = "castle-da"
- public XsltArgumentList Arguments { get; }
- public IEnumerable<XmlArrayItemAttribute> ListItemMeta { get; }
- public IEnumerable<IXPathSerializer> Serializers { get; }
- public XPathContext()
- public XPathContext(NameTable nameTable)
- public XPathContext(XPathContext parent)
- public XPathContext AddFunction(string prefix, string name, IXsltContextFunction function)
- public XPathContext AddFunction(string prefix, string name, Func<IXsltContextFunction> function)
- public string AddNamespace(string namespaceUri)
- public XPathContext AddSerializer(IXPathSerializer serializer)
- public void AddStandardNamespaces(XPathNavigator source)
- public XPathNavigator AppendElement(string name, string namespaceUri, XPathNavigator source)
- public XPathContext ApplyBehaviors(IEnumerable behaviors)
- public XPathNavigator CreateAttribute(string name, string namespaceUri, XPathNavigator source)
- public XPathContext CreateChild(IEnumerable behaviors)
- public XPathContext CreateChild(object[] behaviors)
- public string CreateNamespace(string prefix, string namespaceUri, XPathNavigator source)
- public bool Evaluate(XPathExpression xpath, XPathNavigator source, out object result)
- public string GetEffectiveNamespace(string namespaceUri)
- public XmlQualifiedName GetXmlType(XPathNavigator source)
- public bool Matches(XPathExpression xpath, XPathNavigator source)
- public XPathNavigator SelectSingleNode(XPathExpression xpath, XPathNavigator source)
- public void SetXmlType(string name, string namespaceUri, XPathNavigator source)
-
public static class XPathExtensions
-
public class XPathFunctionAttribute : Attribute
-
public class XPathResult
- public readonly bool CanWrite
- public readonly PropertyDescriptor Property
- public XPathNavigator Container { get; }
- public XPathContext Context { get; }
- public bool IsContainer { get; }
- public bool OmitPolymorphism { get; }
- public object Result { get; }
- public Type Type { get; }
- public XmlMetadata XmlMeta { get; }
- public XPathResult(PropertyDescriptor property, object result, XPathContext context, object matchingBehavior)
- public XPathResult(Type type, object result, XPathContext context, object matchingBehavior)
- public XPathResult(PropertyDescriptor property, object result, XPathContext context, object matchingBehavior, Func<XPathNavigator> create)
- public XPathResult CreateNode(Type type, object value, Func<Type, XmlMetadata> getXmlMeta)
- public XPathNavigator GetNavigator(bool demand)
- public XPathResult GetNodeAt(Type type, int index)
- public IEnumerable<XPathResult> GetNodes(Type type, Func<Type, XmlMetadata> getXmlMeta)
- public bool ReadObject(out object value)
- public void Remove()
- public void RemoveAt(int index)
- public XPathNavigator RemoveChildren()
- public bool WriteObject(object value)
Castle.Core
Castle.Core.Interceptor
Castle.Core.Internal
-
public static class AttributesUtil
-
public class InternalsVisible
- public const string ToCastleCore = "Castle.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010077F5E87030DADCCCE6902C6ADAB7A987BD69CB5819991531F560785EACFC89B6FCDDF6BB2A00743A7194E454C0273447FC6EEC36474BA8E5A3823147D214298E4F9A631B1AFEE1A51FFEAE4672D498F14B000E3D321453CDD8AC064DE7E1CF4D222B7E81F54D4FD46725370D702A05B48738CC29D09228F1AA722AE1A9CA02FB"
- public const string ToDynamicProxyGenAssembly2 = "DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7"
- public InternalsVisible()
-
public class LinkedList : IList, ICollection, IEnumerable
-
public abstract class TopologicalSortAlgo
-
public static class PermissionUtil
Castle.Core.Logging
Castle.Core.Logging.Factories
Castle.Core.Resource
Castle.Core.Smtp
Castle.DynamicProxy
-
public abstract class AbstractInvocation : IInvocation, ISerializable
- protected readonly object proxyObject
- public object[] Arguments { get; }
- public Type[] GenericArguments { get; }
- public abstract object InvocationTarget { get; }
- public MethodInfo Method { get; }
- public abstract MethodInfo MethodInvocationTarget { get; }
- public object Proxy { get; }
- public object ReturnValue { get; set; }
- public abstract Type TargetType { get; }
- protected AbstractInvocation(object proxy, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments)
- protected AbstractInvocation(object proxy, Type targetType, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments, IInterceptorSelector selector, ref IInterceptor methodInterceptors)
- public object GetArgumentValue(int index)
- public MethodInfo GetConcreteMethod()
- public MethodInfo GetConcreteMethodInvocationTarget()
- public void GetObjectData(SerializationInfo info, StreamingContext context)
- protected abstract void InvokeMethodOnTarget()
- public void Proceed()
- public void SetArgumentValue(int index, object value)
- public void SetGenericMethodArguments(Type[] arguments)
- protected void ThrowOnNoTarget()
-
public class AllMethodsHook : IProxyGenerationHook
-
public static class AttributeUtil
-
public class CacheMappingsAttribute : Attribute
-
public abstract class CompositionInvocation : AbstractInvocation
- protected object target
- protected CompositionInvocation(object target, object proxy, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments)
- protected CompositionInvocation(object target, object proxy, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments, IInterceptorSelector selector, ref IInterceptor methodInterceptors)
- protected void EnsureValidProxyTarget(object newTarget)
- protected void EnsureValidTarget()
-
public class DefaultProxyBuilder : IProxyBuilder
- public ILogger Logger { get; set; }
- public ModuleScope ModuleScope { get; }
- public DefaultProxyBuilder()
- public DefaultProxyBuilder(ModuleScope scope)
- public Type CreateClassProxy(Type classToProxy, ProxyGenerationOptions options)
- public Type CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- 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 abstract class InheritanceInvocation : AbstractInvocation
- protected InheritanceInvocation(Type targetType, object proxy, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments)
- protected InheritanceInvocation(Type targetType, object proxy, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments, IInterceptorSelector selector, ref IInterceptor methodInterceptors)
- protected abstract void InvokeMethodOnTarget()
-
public class InternalsHelper
-
public class InvalidMixinConfigurationException : Exception
-
public interface IProxyBuilder
- ILogger Logger { get; set; }
- ModuleScope ModuleScope { get; }
- Type CreateClassProxy(Type classToProxy, ProxyGenerationOptions options)
- Type CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
- 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 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 StrongNamedModuleDirectory { get; }
- public string StrongNamedModuleName { get; }
- public ModuleBuilder WeakNamedModule { get; }
- public string WeakNamedModuleDirectory { 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 void LoadAssemblyIntoCache(Assembly assembly)
- public ModuleBuilder ObtainDynamicModule(bool isStrongNamed)
- public ModuleBuilder ObtainDynamicModuleWithStrongName()
- public ModuleBuilder ObtainDynamicModuleWithWeakName()
- public void RegisterInCache(CacheKey key, Type type)
- public string SaveAssembly()
- public string SaveAssembly(bool strongNamed)
-
public class PersistentProxyBuilder : DefaultProxyBuilder
-
public class ProxyGenerationException : Exception
-
public class ProxyGenerationOptions : ISerializable
-
public class ProxyGenerator
- public ILogger Logger { get; set; }
- public IProxyBuilder ProxyBuilder { get; }
- public ProxyGenerator(IProxyBuilder builder)
- public ProxyGenerator()
- 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 class RemotableInvocation : MarshalByRefObject, IInvocation, ISerializable
-
public class StandardInterceptor : MarshalByRefObject, IInterceptor
Castle.DynamicProxy.Contributors
-
public class ClassMembersCollector : MembersCollector
-
public class ClassProxyInstanceContributor : ProxyInstanceContributor
-
public class ClassProxyTargetContributor : CompositeTypeContributor
-
public class ClassProxyWithTargetTargetContributor : CompositeTypeContributor
-
public abstract class CompositeTypeContributor : ITypeContributor
-
public class DelegateProxyTargetContributor : CompositeTypeContributor
-
public class DelegateTypeGenerator : IGenerator<AbstractTypeEmitter>
-
public class ForwardingMethodGenerator : MethodGenerator
-
public sealed delegate GetTargetExpressionDelegate : MulticastDelegate
-
public sealed delegate GetTargetReferenceDelegate : MulticastDelegate
-
public class InterfaceMembersCollector : MembersCollector
-
public class InterfaceMembersOnClassCollector : MembersCollector
-
public class InterfaceProxyInstanceContributor : ProxyInstanceContributor
-
public class InterfaceProxyTargetContributor : CompositeTypeContributor
-
public class InterfaceProxyWithOptionalTargetContributor : InterfaceProxyWithoutTargetContributor
-
public class InterfaceProxyWithoutTargetContributor : CompositeTypeContributor
-
public class InterfaceProxyWithTargetInterfaceTargetContributor : InterfaceProxyTargetContributor
-
public class InvocationWithDelegateContributor : IInvocationCreationContributor
-
public class InvocationWithGenericDelegateContributor : IInvocationCreationContributor
-
public interface ITypeContributor
-
public abstract class MembersCollector
-
public class MinimialisticMethodGenerator : MethodGenerator
-
public class MixinContributor : CompositeTypeContributor
-
public class OptionallyForwardingMethodGenerator : MethodGenerator
-
public sealed delegate OverrideMethodDelegate : MulticastDelegate
-
public abstract class ProxyInstanceContributor : ITypeContributor
- protected readonly Type targetType
- protected ProxyInstanceContributor(Type targetType, Type[] interfaces, string proxyTypeId)
- protected virtual void AddAddValueInvocation(ArgumentReference serializationInfo, MethodEmitter getObjectData, FieldReference field)
- public void CollectElementsToProxy(IProxyGenerationHook hook, MetaType model)
- protected abstract void CustomizeGetObjectData(AbstractCodeBuilder builder, ArgumentReference serializationInfo, ArgumentReference streamingContext, ClassEmitter emitter)
- public virtual void Generate(ClassEmitter class, ProxyGenerationOptions options)
- protected abstract Expression GetTargetReferenceExpression(ClassEmitter emitter)
- protected void ImplementGetObjectData(ClassEmitter emitter)
- protected void ImplementProxyTargetAccessor(ClassEmitter emitter, FieldReference interceptorsField)
-
public class WrappedClassMembersCollector : ClassMembersCollector
Castle.DynamicProxy.Generators
-
public class AttributeDisassembler : IAttributeDisassembler
-
public static class AttributesToAvoidReplicating
-
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 AddMappingForISerializable(IDictionary<Type, ITypeContributor> typeImplementerMapping, ITypeContributor instance)
- 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 sealed delegate DefineProperty_Clr_2_0_SP1 : MulticastDelegate
- 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
-
public static class TypeUtil
Castle.DynamicProxy.Generators.Emitters.CodeBuilders
Castle.DynamicProxy.Generators.Emitters.SimpleAST
Castle.DynamicProxy.Serialization
Castle.DynamicProxy.Tokens