API Differences between 4.4.1 and 5.0.0
636 Additions
118 Removals
Castle.Components.DictionaryAdapter
-
public class BindingList<T> : IBindingList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IBindingListSource, ICancelAddNew, IRaiseItemChangedEvents, IList, ICollection
-
public class BindingListInitializer<T> : IValueInitializer
-
public abstract class DictionaryAdapterBase : IDictionaryCreate, IDictionaryAdapter, IDictionaryEdit, IEditableObject, IRevertibleChangeTracking, IChangeTracking, IDictionaryNotify, INotifyPropertyChanging, INotifyPropertyChanged, IDictionaryValidate
- public string Error { get; }
- public string this[string columnName] { get; }
-
public class DictionaryAdapterFactory : IDictionaryAdapterFactory
-
public class DictionaryValidateGroup : IDictionaryValidate, INotifyPropertyChanged, IDisposable
- public string Error { get; }
- public string this[string columnName] { get; }
-
public class EditableBindingList<T> : BindingList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IEditableObject, IRevertibleChangeTracking, IChangeTracking
-
public interface IBindingList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public interface IBindingListSource
-
public interface IDictionaryAdapterFactory
-
public class ListProjection<T> : IBindingList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IEditableObject, IRevertibleChangeTracking, IChangeTracking, ICollectionProjection, ICollectionAdapterObserver<T>
-
public class SetProjection<T> : ListProjection<T>, ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Castle.Components.DictionaryAdapter.Xml
-
public class CompiledXPath
-
public class CompiledXPathNode
-
public class CompiledXPathStep : CompiledXPathNode
-
public enum CursorFlags
-
public static class CursorFlagsExtensions
-
public sealed class DefaultXmlReferenceFormat : IXmlReferenceFormat
-
public static class DictionaryAdapterExtensions
-
public interface IConfigurable<T>
-
public interface IRealizable<T> : IRealizableSource
-
public interface IRealizableSource
-
public interface IXmlAccessor
-
public interface IXmlBehaviorSemantics<T>
-
public interface IXmlCollectionAccessor : IXmlAccessor
-
public interface IXmlContext : IXmlNamespaceSource
-
public interface IXmlCursor : IXmlIterator, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public interface IXmlIdentity
-
public interface IXmlIncludedType
-
public interface IXmlIncludedTypeMap
-
public interface IXmlIterator : IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public interface IXmlKnownType : IXmlIdentity
-
public interface IXmlKnownTypeMap
-
public interface IXmlNamespaceSource
-
public interface IXmlNode : IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public interface IXmlNodeSource
-
public interface IXmlPropertyAccessor : IXmlAccessor
-
public interface IXmlReferenceFormat
-
public static class RealizableExtensions
-
public class SingletonDispenser<TKey, TItem>
-
public class SysXmlCursor : SysXmlNode, IXmlCursor, IXmlIterator, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public static class SysXmlExtensions
-
public class SysXmlNode : XmlNodeBase, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual, IRealizable<XmlNode>, IRealizable<XPathNavigator>
-
public class SysXmlSubtreeIterator : SysXmlNode, IXmlIterator, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public static class Try
-
public static class TypeExtensions
-
public static class Wsdl
-
public abstract class XmlAccessor : IXmlPropertyAccessor, IXmlAccessor, IXmlCollectionAccessor
-
public sealed delegate XmlAccessorFactory<TAccessor> : MulticastDelegate where TAccessor : XmlAccessor
-
public class XmlAdapter : DictionaryBehaviorAttribute, IDictionaryInitializer, IDictionaryBehavior, IDictionaryPropertyGetter, IDictionaryPropertySetter, IDictionaryCreateStrategy, IDictionaryCopyStrategy, IDictionaryReferenceManager, IVirtual, IXmlNodeSource
-
public class XmlArrayBehaviorAccessor : XmlNodeAccessor, IConfigurable<XmlArrayAttribute>, IConfigurable<XmlArrayItemAttribute>
-
public class XmlArraySerializer : XmlTypeSerializer
-
public class XmlAttributeBehaviorAccessor : XmlNodeAccessor, IConfigurable<XmlAttributeAttribute>
-
public abstract class XmlCollectionSerializer : XmlTypeSerializer
-
public class XmlComponentSerializer : XmlTypeSerializer
-
public class XmlContext : XmlContextBase, IXmlContext, IXmlNamespaceSource
-
public class XmlContextBase : XsltContext, IXmlNamespaceSource
-
public class XmlCustomSerializer : XmlTypeSerializer
-
public class XmlDefaultBehaviorAccessor : XmlNodeAccessor
-
public class XmlDefaultSerializer : XmlTypeSerializer
-
public class XmlDynamicSerializer : XmlTypeSerializer
-
public class XmlElementBehaviorAccessor : XmlNodeAccessor, IConfigurable<XmlElementAttribute>, IXmlBehaviorSemantics<XmlElementAttribute>
-
public class XmlEnumerationSerializer : XmlStringSerializer
-
public class XmlIgnoreBehaviorAccessor : XmlAccessor
-
public class XmlIncludedType : IXmlIncludedType
-
public static class XmlIncludedTypeMapExtensions
-
public class XmlIncludedTypeSet : IXmlIncludedTypeMap, IEnumerable<IXmlIncludedType>, IEnumerable
-
public class XmlKnownType : IXmlKnownType, IXmlIdentity
-
public static class XmlKnownTypeMapExtensions
-
public class XmlKnownTypeSet : IXmlKnownTypeMap, IEnumerable<IXmlKnownType>, IEnumerable
-
public class XmlListSerializer : XmlCollectionSerializer
-
public class XmlMetadata : IXmlKnownType, IXmlIdentity, IXmlKnownTypeMap, IXmlIncludedType, IXmlIncludedTypeMap
-
public class XmlMetadataBehavior : DictionaryBehaviorAttribute, IDictionaryMetaInitializer, IDictionaryBehavior
-
public struct XmlName : IEquatable<XmlName>
-
public class XmlNameComparer : IEqualityComparer<XmlName>
-
public abstract class XmlNodeAccessor : XmlAccessor, IXmlKnownType, IXmlIdentity, IXmlKnownTypeMap
-
public abstract class XmlNodeBase : IRealizableSource, IVirtual
-
public static class Xmlns
-
public class XmlPositionComparer
-
public class XmlReferenceManager
-
public class XmlSelfAccessor : XmlAccessor
-
public class XmlSelfCursor : IXmlCursor, IXmlIterator, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public class XmlSetSerializer : XmlCollectionSerializer
-
public static class XmlSimpleSerializer
-
public class XmlSimpleSerializer<T> : XmlTypeSerializer
-
public class XmlStringSerializer : XmlTypeSerializer
-
public class XmlSubtreeReader : XmlReader
-
public class XmlSubtreeWriter : XmlWriter
-
public enum XmlTypeKind
-
public abstract class XmlTypeSerializer
-
public class XmlXmlNodeSerializer : XmlTypeSerializer
-
public class XPathAttribute : Attribute
-
public class XPathBehaviorAccessor : XmlAccessor, IXmlIncludedType, IXmlIncludedTypeMap, IConfigurable<XPathAttribute>, IConfigurable<XPathVariableAttribute>, IConfigurable<XPathFunctionAttribute>
-
public static class XPathCompiler
-
public static class XPathExtensions
-
public abstract class XPathFunctionAttribute : Attribute, IXsltContextFunction
-
public class XPathNode : XmlNodeBase, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual, IRealizable<XPathNavigator>, IRealizable<XmlNode>
-
public class XPathReadOnlyCursor : XPathNode, IXmlCursor, IXmlIterator, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual
-
public abstract class XPathVariableAttribute : Attribute, IXsltContextVariable
-
public static class XRef
-
public static class Xsd
-
public static class Xsi
Castle.Core
-
public class Pair<TFirst, TSecond> : IEquatable<Pair<TFirst, TSecond>>
- public TFirst First { get; }
- public TSecond Second { get; }
- public Pair(TFirst first, TSecond second)
- public bool Equals(Pair<TFirst, TSecond> other)
Castle.Core.Internal
Castle.Core.Logging
Castle.Core.Resource
Castle.Core.Smtp
Castle.DynamicProxy
Castle.DynamicProxy.Contributors
Castle.DynamicProxy.Generators
-
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 MethodWithInvocationGenerator(MetaMethod method, Reference interceptors, Type invocation, GetTargetExpressionDelegate getTargetExpression, OverrideMethodDelegate createMethod, IInvocationCreationContributor contributor)
- public MethodWithInvocationGenerator(MetaMethod method, Reference interceptors, Type invocation, GetTargetExpressionDelegate getTargetExpression, GetTargetExpressionDelegate getTargetTypeExpression, OverrideMethodDelegate createMethod, IInvocationCreationContributor contributor)
- protected FieldReference BuildMethodInterceptorsField(ClassEmitter class, MethodInfo method, INamingScope namingScope)
-
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