Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

getting the shell together of FubuFastPack, IntegrationTesting, and F…

…ubuFastPack.Testing
  • Loading branch information...
commit 9252c6ec1aded8de831785f08cdb81013b5a12a5 1 parent 068bcde
@jeremydmiller jeremydmiller authored
Showing with 1,055 additions and 447 deletions.
  1. BIN  lib/Fluent NHibernate/FluentNHibernate.Framework.dll
  2. BIN  lib/Fluent NHibernate/FluentNHibernate.Framework.pdb
  3. BIN  lib/Fluent NHibernate/FluentNHibernate.dll
  4. BIN  lib/Fluent NHibernate/FluentNHibernate.pdb
  5. BIN  lib/NHibernate/Castle.Core.dll
  6. +306 −158 lib/NHibernate/Castle.Core.xml
  7. BIN  lib/NHibernate/Castle.DynamicProxy2.dll
  8. +696 −82 lib/NHibernate/Castle.DynamicProxy2.xml
  9. BIN  lib/NHibernate/Iesi.Collections.Test.dll
  10. BIN  lib/NHibernate/Iesi.Collections.dll
  11. +16 −0 lib/NHibernate/Iesi.Collections.xml
  12. BIN  lib/NHibernate/NHibernate.Linq.dll
  13. BIN  lib/NHibernate/NHibernate.dll
  14. BIN  lib/StructureMap/StructureMap.Testing.GenericWidgets.dll
  15. BIN  lib/StructureMap/StructureMap.Testing.GenericWidgets.pdb
  16. BIN  lib/StructureMap/StructureMap.Testing.Widget.dll
  17. BIN  lib/StructureMap/StructureMap.Testing.Widget.pdb
  18. BIN  lib/StructureMap/StructureMap.Testing.Widget2.dll
  19. BIN  lib/StructureMap/StructureMap.Testing.Widget2.pdb
  20. BIN  lib/StructureMap/StructureMap.Testing.Widget3.dll
  21. BIN  lib/StructureMap/StructureMap.Testing.Widget3.pdb
  22. BIN  lib/StructureMap/StructureMap.Testing.Widget4.dll
  23. BIN  lib/StructureMap/StructureMap.Testing.Widget4.pdb
  24. BIN  lib/StructureMap/StructureMap.Testing.Widget5.dll
  25. BIN  lib/StructureMap/StructureMap.Testing.Widget5.pdb
  26. BIN  lib/StructureMap/StructureMap.Testing.dll
  27. BIN  lib/StructureMap/StructureMap.Testing.pdb
  28. +1 −1  rakefile.rb
  29. +35 −1 src/FubuMVC.sln
  30. +0 −85 src/StoryTellerTesting/Fixtures/PackagingFixture.cs
  31. +0 −29 src/StoryTellerTesting/StoryTellerDebug.cs
  32. +0 −90 src/StoryTellerTesting/StoryTellerTesting.csproj
  33. +1 −1  src/StoryTellerTesting/Storyteller.xml
View
BIN  lib/Fluent NHibernate/FluentNHibernate.Framework.dll
Binary file not shown
View
BIN  lib/Fluent NHibernate/FluentNHibernate.Framework.pdb
Binary file not shown
View
BIN  lib/Fluent NHibernate/FluentNHibernate.dll
Binary file not shown
View
BIN  lib/Fluent NHibernate/FluentNHibernate.pdb
Binary file not shown
View
BIN  lib/NHibernate/Castle.Core.dll
Binary file not shown
View
464 lib/NHibernate/Castle.Core.xml
@@ -212,7 +212,7 @@
<summary>
Initializes a new instance of the <see cref="T:Castle.Core.CustomLifestyleAttribute"/> class.
</summary>
- <param name="lifestyleHandler">The lifestyle handler.</param>
+ <param name="lifestyleHandlerType">The lifestyle handler.</param>
</member>
<member name="P:Castle.Core.CustomLifestyleAttribute.LifestyleHandlerType">
<summary>
@@ -483,14 +483,14 @@
<summary>
Gets the configuration file.
</summary>
- <param name="filename">i.e. log4net.config</param>
+ <param name="fileName">i.e. log4net.config</param>
<returns></returns>
</member>
<member name="M:Castle.Core.Logging.AbstractLoggerFactory.GetConfigFile(System.String)">
<summary>
Gets the configuration file.
</summary>
- <param name="filename">i.e. log4net.config</param>
+ <param name="fileName">i.e. log4net.config</param>
<returns></returns>
</member>
<member name="T:Castle.Core.Logging.ConsoleFactory">
@@ -525,6 +525,11 @@
plus the 'log' extension.
</summary>
</member>
+ <member name="T:Castle.Core.Logging.TraceLoggerFactory">
+ <summary>
+ Used to create the TraceLogger implementation of ILogger interface. See <see cref="T:Castle.Core.Logging.TraceLogger"/>.
+ </summary>
+ </member>
<member name="T:Castle.Core.Logging.ConsoleLogger">
<summary>
The Logger sending everything to the standard output streams.
@@ -834,7 +839,7 @@
Create a new child logger.
The name of the child logger is [current-loggers-name].[passed-in-name]
</summary>
- <param name="name">The Subname of this logger.</param>
+ <param name="loggerName">The Subname of this logger.</param>
<returns>The New ILogger instance.</returns>
<exception cref="T:System.ArgumentException">If the name has an empty element name.</exception>
</member>
@@ -1170,8 +1175,8 @@
Implementors output the log content by implementing this method only.
Note that exception can be null
</summary>
- <param name="level"></param>
- <param name="name"></param>
+ <param name="loggerLevel"></param>
+ <param name="loggerName"></param>
<param name="message"></param>
<param name="exception"></param>
</member>
@@ -1255,8 +1260,8 @@
<summary>
A Common method to log.
</summary>
- <param name="level">The level of logging</param>
- <param name="name">The name of the logger</param>
+ <param name="loggerLevel">The level of logging</param>
+ <param name="loggerName">The name of the logger</param>
<param name="message">The Message</param>
<param name="exception">The Exception</param>
</member>
@@ -1265,7 +1270,7 @@
Returns a new <c>ConsoleLogger</c> with the name
added after this loggers name, with a dot in between.
</summary>
- <param name="newName">The added hierarchical name.</param>
+ <param name="loggerName">The added hierarchical name.</param>
<returns>A new <c>ConsoleLogger</c>.</returns>
</member>
<member name="T:Castle.Core.Logging.DiagnosticsLogger">
@@ -1612,7 +1617,7 @@
<summary>
Returns this <c>NullLogger</c>.
</summary>
- <param name="name">Ignored</param>
+ <param name="loggerName">Ignored</param>
<returns>This ILogger instance.</returns>
</member>
<member name="P:Castle.Core.Logging.NullLogger.IsDebugEnabled">
@@ -1761,6 +1766,46 @@
<param name="name">The name of the log.</param>
<param name="writer">The <c>StreamWriter</c> the log will write to.</param>
</member>
+ <member name="T:Castle.Core.Logging.TraceLogger">
+ <summary>
+ The TraceLogger sends all logging to the System.Diagnostics.TraceSource
+ built into the .net framework.
+ </summary>
+ <remarks>
+ Logging can be configured in the system.diagnostics configuration
+ section.
+
+ If logger doesn't find a source name with a full match it will
+ use source names which match the namespace partially. For example you can
+ configure from all castle components by adding a source name with the
+ name "Castle".
+
+ If no portion of the namespace matches the source named "Default" will
+ be used.
+ </remarks>
+ </member>
+ <member name="M:Castle.Core.Logging.TraceLogger.#ctor(System.String)">
+ <summary>
+ Build a new trace logger based on the named TraceSource
+ </summary>
+ <param name="name">The name used to locate the best TraceSource. In most cases comes from the using type's fullname.</param>
+ </member>
+ <member name="M:Castle.Core.Logging.TraceLogger.#ctor(System.String,Castle.Core.Logging.LoggerLevel)">
+ <summary>
+ Build a new trace logger based on the named TraceSource
+ </summary>
+ <param name="name">The name used to locate the best TraceSource. In most cases comes from the using type's fullname.</param>
+ <param name="level">The default logging level at which this source should write messages. In almost all cases this
+ default value will be overridden in the config file. </param>
+ </member>
+ <member name="M:Castle.Core.Logging.TraceLogger.CreateChildLogger(System.String)">
+ <summary>
+ Create a new child logger.
+ The name of the child logger is [current-loggers-name].[passed-in-name]
+ </summary>
+ <param name="loggerName">The Subname of this logger.</param>
+ <returns>The New ILogger instance.</returns>
+ </member>
<member name="T:Castle.Core.Logging.WebLogger">
<summary>
The WebLogger sends everything to the HttpContext.Trace
@@ -1791,14 +1836,14 @@
Creates a new WebLogger.
</summary>
<param name="name">The Log name.</param>
- <param name="logLevel">The Log level typecode.</param>
+ <param name="loggerLevel">The Log level typecode.</param>
</member>
<member name="M:Castle.Core.Logging.WebLogger.Log(Castle.Core.Logging.LoggerLevel,System.String,System.String,System.Exception)">
<summary>
A Common method to log.
</summary>
- <param name="level">The level of logging</param>
- <param name="name">The Log name.</param>
+ <param name="loggerLevel">The level of logging</param>
+ <param name="loggerName">The Log name.</param>
<param name="message">The Message</param>
<param name="exception">The Exception</param>
</member>
@@ -1806,9 +1851,16 @@
<summary>
Just returns this logger (<c>WebLogger</c> is not hierarchical).
</summary>
- <param name="newName">Ignored</param>
+ <param name="loggerName">Ignored</param>
<returns>This ILogger instance.</returns>
</member>
+ <member name="M:Castle.Core.Logging.WebLogger.TryToGetTraceContext">
+ <summary>
+ Tries to get the current http context's trace context.
+ </summary>
+ <returns>The current http context's trace context or null if none is
+ available</returns>
+ </member>
<member name="T:Castle.Core.Logging.LoggerLevel">
<summary>
Supporting Logger levels.
@@ -1844,6 +1896,24 @@
Debug logging level
</summary>
</member>
+ <member name="T:Castle.Core.Configuration.Xml.XmlConfigurationDeserializer">
+ <summary>
+ Pendent
+ </summary>
+ </member>
+ <member name="M:Castle.Core.Configuration.Xml.XmlConfigurationDeserializer.Deserialize(System.Xml.XmlNode)">
+ <summary>
+ Deserializes the specified node into an abstract representation of configuration.
+ </summary>
+ <param name="node">The node.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Castle.Core.Configuration.Xml.XmlConfigurationDeserializer.GetConfigValue(System.String)">
+ <summary>
+ If a config value is an empty string we return null, this is to keep
+ backward compability with old code
+ </summary>
+ </member>
<member name="T:Castle.Core.Configuration.AbstractConfiguration">
<summary>
This is an abstract <see cref="T:Castle.Core.Configuration.IConfiguration"/> implementation
@@ -1857,9 +1927,6 @@
</member>
<member name="T:Castle.Core.Configuration.IConfiguration">
<summary>
- Summary description for IConfiguration.
- </summary>
- <summary>
<see cref="T:Castle.Core.Configuration.IConfiguration"/> is a interface encapsulating a configuration node
used to retrieve configuration values.
</summary>
@@ -1954,81 +2021,11 @@
Creates a new instance of <c>ConfigurationCollection</c>.
</summary>
</member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.#ctor(Castle.Core.Configuration.ConfigurationCollection)">
- <summary>
- Creates a new instance of <c>ConfigurationCollection</c>.
- </summary>
- </member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.#ctor(Castle.Core.Configuration.IConfiguration[])">
+ <member name="M:Castle.Core.Configuration.ConfigurationCollection.#ctor(System.Collections.Generic.IEnumerable{Castle.Core.Configuration.IConfiguration})">
<summary>
Creates a new instance of <c>ConfigurationCollection</c>.
</summary>
</member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.Add(Castle.Core.Configuration.IConfiguration)">
- <summary>
- Adds an <see cref="T:Castle.Core.Configuration.IConfiguration"/>.
- </summary>
- <param name="value">The <see cref="T:Castle.Core.Configuration.IConfiguration"/> to add.</param>
- <returns>
- The index at which the new element was inserted.
- </returns>
- </member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.AddRange(Castle.Core.Configuration.IConfiguration[])">
- <summary>
- Adds an array of <see cref="T:Castle.Core.Configuration.IConfiguration"/>.
- </summary>
- <param name="value">The Array of <see cref="T:Castle.Core.Configuration.IConfiguration"/> to add.</param>
- </member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.AddRange(Castle.Core.Configuration.ConfigurationCollection)">
- <summary>
- Adds a <see cref="T:Castle.Core.Configuration.ConfigurationCollection"/>.
- </summary>
- <param name="value">The <see cref="T:Castle.Core.Configuration.ConfigurationCollection"/> to add.</param>
- </member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.CopyTo(Castle.Core.Configuration.IConfiguration[],System.Int32)">
- <summary>
- Copies the elements to a one-dimensional <see cref="T:System.Array"/> instance at the specified index.
- </summary>
- <param name="array">
- The one-dimensional <see cref="T:System.Array"/> must have zero-based indexing.
- </param>
- <param name="index">The zero-based index in array at which copying begins.</param>
- </member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.Contains(Castle.Core.Configuration.IConfiguration)">
- <summary>
- Gets a value indicating whether the <see cref="T:Castle.Core.Configuration.IConfiguration"/> contains
- in the collection.
- </summary>
- <param name="value">The <see cref="T:Castle.Core.Configuration.IConfiguration"/> to locate.</param>
- <returns>
- <see langword="true"/> if the <see cref="T:Castle.Core.Configuration.IConfiguration"/> is contained in the collection;
- otherwise, <see langword="false"/>.
- </returns>
- </member>
- <member name="M:Castle.Core.Configuration.ConfigurationCollection.Remove(Castle.Core.Configuration.IConfiguration)">
- <summary>
- Removes a specific <see cref="T:Castle.Core.Configuration.IConfiguration"/> from the
- collection.
- </summary>
- <param name="value">The <see cref="T:Castle.Core.Configuration.IConfiguration"/> to remove from the collection.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="value"/> is not found in the collection.
- </exception>
- </member>
- <member name="P:Castle.Core.Configuration.ConfigurationCollection.Item(System.Int32)">
- <summary>
- Represents the entry at the specified index of the <see cref="T:Castle.Core.Configuration.IConfiguration"/>.
- </summary>
- <param name="index">
- The zero-based index of the entry to locate in the collection.
- </param>
- <value>
- The entry at the specified index of the collection.
- </value>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index"/> is outside the valid range of indexes for the collection.
- </exception>
- </member>
<member name="T:Castle.Core.Configuration.MutableConfiguration">
<summary>
Summary description for MutableConfiguration.
@@ -2040,6 +2037,14 @@
</summary>
<param name="name">The name.</param>
</member>
+ <member name="P:Castle.Core.Configuration.MutableConfiguration.Value">
+ <summary>
+ Gets the value of <see cref="T:Castle.Core.Configuration.IConfiguration"/>.
+ </summary>
+ <value>
+ The Value of the <see cref="T:Castle.Core.Configuration.IConfiguration"/>.
+ </value>
+ </member>
<member name="T:Castle.Core.LifestyleType">
<summary>
Enumeration used to mark the component's lifestyle.
@@ -2135,11 +2140,26 @@
<member name="F:Castle.Core.ComponentModel.interceptors">
<summary>Interceptors associated</summary>
</member>
+ <member name="F:Castle.Core.ComponentModel.customDependencies">
+ <summary>/// Custom dependencies/// </summary>
+ </member>
<member name="M:Castle.Core.ComponentModel.#ctor(System.String,System.Type,System.Type)">
<summary>
Constructs a ComponentModel
</summary>
</member>
+ <member name="M:Castle.Core.ComponentModel.Requires(System.Predicate{Castle.Core.PropertySet}[])">
+ <summary>
+ Requires the selected property dependencies.
+ </summary>
+ <param name="selectors">The property selector.</param>
+ </member>
+ <member name="M:Castle.Core.ComponentModel.Requires``1">
+ <summary>
+ Requires the property dependencies of type <typeparamref name="D"/>.
+ </summary>
+ <typeparam name="D">The dependency type.</typeparam>
+ </member>
<member name="P:Castle.Core.ComponentModel.Name">
<summary>
Sets or returns the component key
@@ -2240,6 +2260,12 @@
of fact the handler) can check them
</summary>
</member>
+ <member name="P:Castle.Core.ComponentModel.CustomDependencies">
+ <summary>
+ Gets the custom dependencies.
+ </summary>
+ <value>The custom dependencies.</value>
+ </member>
<member name="T:Castle.Core.ConstructorCandidate">
<summary>
Represents a constructor of the component
@@ -2270,17 +2296,6 @@
Collection of <see cref="T:Castle.Core.ConstructorCandidate"/>
</summary>
</member>
- <member name="M:Castle.Core.ConstructorCandidateCollection.Add(Castle.Core.ConstructorCandidate)">
- <summary>
- Adds the specified candidate.
- </summary>
- <param name="candidate">The candidate.</param>
- </member>
- <member name="M:Castle.Core.ConstructorCandidateCollection.Clear">
- <summary>
- Clears this instance.
- </summary>
- </member>
<member name="P:Castle.Core.ConstructorCandidateCollection.FewerArgumentsCandidate">
<summary>
Gets the fewer arguments candidate.
@@ -2365,60 +2380,49 @@
Initializes a new instance of the <see cref="T:Castle.Core.DependencyModelCollection"/> class.
</summary>
</member>
- <member name="M:Castle.Core.DependencyModelCollection.#ctor(Castle.Core.DependencyModelCollection)">
+ <member name="M:Castle.Core.DependencyModelCollection.#ctor(System.Collections.Generic.IEnumerable{Castle.Core.DependencyModel})">
<summary>
Initializes a new instance of the <see cref="T:Castle.Core.DependencyModelCollection"/> class.
</summary>
<param name="dependencies">The dependencies.</param>
</member>
- <member name="M:Castle.Core.DependencyModelCollection.#ctor(Castle.Core.DependencyModel[])">
- <summary>
- Initializes a new instance of the <see cref="T:Castle.Core.DependencyModelCollection"/> class.
- </summary>
- <param name="dependencies">The dependencies.</param>
- </member>
- <member name="M:Castle.Core.DependencyModelCollection.Add(Castle.Core.DependencyModel)">
- <summary>
- Adds the specified model.
- </summary>
- <param name="model">The model.</param>
- </member>
- <member name="M:Castle.Core.DependencyModelCollection.Remove(Castle.Core.DependencyModel)">
+ <member name="T:Castle.Core.InterceptorReference">
<summary>
- Removes the specified model.
+ Represents an reference to a Interceptor component.
</summary>
- <param name="model">The model.</param>
</member>
- <member name="M:Castle.Core.DependencyModelCollection.Clear">
+ <member name="M:Castle.Core.InterceptorReference.#ctor(System.String)">
<summary>
- Clears this instance.
+ Initializes a new instance of the <see cref="T:Castle.Core.InterceptorReference"/> class.
</summary>
+ <param name="componentKey">The component key.</param>
</member>
- <member name="M:Castle.Core.DependencyModelCollection.Contains(Castle.Core.DependencyModel)">
+ <member name="M:Castle.Core.InterceptorReference.#ctor(System.Type)">
<summary>
- Determines whether this collection contains the the specified model.
+ Initializes a new instance of the <see cref="T:Castle.Core.InterceptorReference"/> class.
</summary>
- <param name="model">The model.</param>
- <returns>
- <c>true</c> if the collection contains the specified model; otherwise, <c>false</c>.
- </returns>
+ <param name="serviceType">Type of the service.</param>
</member>
- <member name="T:Castle.Core.InterceptorReference">
+ <member name="M:Castle.Core.InterceptorReference.ForKey(System.String)">
<summary>
- Represents an reference to a Interceptor component.
+ Gets an <see cref="T:Castle.Core.InterceptorReference"/> for the component key.
</summary>
+ <param name="key">The component key.</param>
+ <returns>The <see cref="T:Castle.Core.InterceptorReference"/></returns>
</member>
- <member name="M:Castle.Core.InterceptorReference.#ctor(System.String)">
+ <member name="M:Castle.Core.InterceptorReference.ForType(System.Type)">
<summary>
- Initializes a new instance of the <see cref="T:Castle.Core.InterceptorReference"/> class.
+ Gets an <see cref="T:Castle.Core.InterceptorReference"/> for the service.
</summary>
- <param name="componentKey">The component key.</param>
+ <param name="service">The service.</param>
+ <returns>The <see cref="T:Castle.Core.InterceptorReference"/></returns>
</member>
- <member name="M:Castle.Core.InterceptorReference.#ctor(System.Type)">
+ <member name="M:Castle.Core.InterceptorReference.ForType``1">
<summary>
- Initializes a new instance of the <see cref="T:Castle.Core.InterceptorReference"/> class.
+ Gets an <see cref="T:Castle.Core.InterceptorReference"/> for the service.
</summary>
- <param name="serviceType">Type of the service.</param>
+ <typeparam name="T">The service type.</typeparam>
+ <returns>The <see cref="T:Castle.Core.InterceptorReference"/></returns>
</member>
<member name="P:Castle.Core.InterceptorReference.ServiceType">
<summary>
@@ -2445,28 +2449,28 @@
</member>
<member name="M:Castle.Core.InterceptorReferenceCollection.Add(Castle.Core.InterceptorReference)">
<summary>
- Adds the specified interceptor.
+ Adds the specified item.
</summary>
- <param name="interceptor">The interceptor.</param>
+ <param name="item">The interceptor.</param>
</member>
<member name="M:Castle.Core.InterceptorReferenceCollection.AddFirst(Castle.Core.InterceptorReference)">
<summary>
- Adds the the specified interceptor as the first.
+ Adds the specified interceptor as the first.
</summary>
- <param name="interceptor">The interceptor.</param>
+ <param name="item">The interceptor.</param>
</member>
<member name="M:Castle.Core.InterceptorReferenceCollection.AddLast(Castle.Core.InterceptorReference)">
<summary>
- Adds the the specified interceptor as the last.
+ Adds the specified interceptor as the last.
</summary>
- <param name="interceptor">The interceptor.</param>
+ <param name="item">The interceptor.</param>
</member>
<member name="M:Castle.Core.InterceptorReferenceCollection.Insert(System.Int32,Castle.Core.InterceptorReference)">
<summary>
Inserts the specified interceptor at the specified index.
</summary>
<param name="index">The index.</param>
- <param name="interceptor">The interceptor.</param>
+ <param name="item">The interceptor.</param>
</member>
<member name="M:Castle.Core.InterceptorReferenceCollection.CopyTo(System.Array,System.Int32)">
<summary>
@@ -2499,6 +2503,12 @@
that can be used to iterate through the collection.
</returns>
</member>
+ <member name="M:Castle.Core.InterceptorReferenceCollection.AddIfNotInCollection(Castle.Core.InterceptorReference)">
+ <summary>
+ Adds the interceptor to the end of the interceptors list if it does not exist already.
+ </summary>
+ <param name="interceptorReference">The interceptor reference.</param>
+ </member>
<member name="P:Castle.Core.InterceptorReferenceCollection.HasInterceptors">
<summary>
Gets a value indicating whether this instance has interceptors.
@@ -2558,6 +2568,13 @@
<param name="type"></param>
<param name="stepImplementation"></param>
</member>
+ <member name="M:Castle.Core.LifecycleStepCollection.AddFirst(Castle.Core.LifecycleStepType,System.Object)">
+ <summary>
+ Adds a step as the first step to execute for the commission or decomission phase.
+ </summary>
+ <param name="type"></param>
+ <param name="stepImplementation"></param>
+ </member>
<member name="M:Castle.Core.LifecycleStepCollection.CopyTo(System.Array,System.Int32)">
<summary>
Copies the elements of
@@ -2650,12 +2667,6 @@
Collection of <see cref="T:Castle.Core.MethodMetaModel"/>
</summary>
</member>
- <member name="M:Castle.Core.MethodMetaModelCollection.Add(Castle.Core.MethodMetaModel)">
- <summary>
- Adds the specified model.
- </summary>
- <param name="model">The model.</param>
- </member>
<member name="P:Castle.Core.MethodMetaModelCollection.MethodInfo2Model">
<summary>
Gets the method info2 model.
@@ -2868,17 +2879,6 @@
Collection of <see cref="T:Castle.Core.PropertySet"/>
</summary>
</member>
- <member name="M:Castle.Core.PropertySetCollection.Add(Castle.Core.PropertySet)">
- <summary>
- Adds the specified property.
- </summary>
- <param name="property">The property.</param>
- </member>
- <member name="M:Castle.Core.PropertySetCollection.Clear">
- <summary>
- Clears this instance.
- </summary>
- </member>
<member name="M:Castle.Core.PropertySetCollection.FindByPropertyInfo(System.Reflection.PropertyInfo)">
<summary>
Finds a PropertySet the by PropertyInfo.
@@ -2934,10 +2934,10 @@
</summary>
</member>
- <member name="T:Castle.Core.Resource.AbstractStreamResource.StreamHideCloseDelegate">
+ <member name="F:Castle.Core.Resource.AbstractStreamResource.createStream">
<summary>
- Do not allow closing and disposal of the
- underlying <see cref="P:Castle.Core.Resource.AbstractStreamResource.Stream"/>.
+ This returns a new stream instance each time it is called.
+ It is the responsability of the caller to dispose of this stream
</summary>
</member>
<member name="T:Castle.Core.Resource.AssemblyResourceFactory">
@@ -3045,5 +3045,153 @@
<param name="first"></param>
<param name="second"></param>
</member>
+ <member name="T:Castle.Core.ProxyServices">
+ <summary>
+ List of utility methods related to dynamic proxy operations
+ </summary>
+ </member>
+ <member name="M:Castle.Core.ProxyServices.IsDynamicProxy(System.Type)">
+ <summary>
+ Determines whether the specified type is a proxy generated by
+ DynamicProxy (1 or 2).
+ </summary>
+ <param name="type">The type.</param>
+ <returns>
+ <c>true</c> if it is a proxy; otherwise, <c>false</c>.
+ </returns>
+ </member>
+ <member name="T:Castle.Core.ReflectionBasedDictionaryAdapter">
+ <summary>
+ Pendent
+ </summary>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.#ctor(System.Object)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Castle.Core.ReflectionBasedDictionaryAdapter"/> class.
+ </summary>
+ <param name="target">The target.</param>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.Contains(System.Object)">
+ <summary>
+ Determines whether the <see cref="T:System.Collections.IDictionary"/> object contains an element with the specified key.
+ </summary>
+ <param name="key">The key to locate in the <see cref="T:System.Collections.IDictionary"/> object.</param>
+ <returns>
+ true if the <see cref="T:System.Collections.IDictionary"/> contains an element with the key; otherwise, false.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">
+ <paramref name="key"/> is null. </exception>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.Add(System.Object,System.Object)">
+ <summary>
+ Adds an element with the provided key and value to the <see cref="T:System.Collections.IDictionary"/> object.
+ </summary>
+ <param name="key">The <see cref="T:System.Object"/> to use as the key of the element to add.</param>
+ <param name="value">The <see cref="T:System.Object"/> to use as the value of the element to add.</param>
+ <exception cref="T:System.ArgumentNullException">
+ <paramref name="key"/> is null. </exception>
+ <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.IDictionary"/> object. </exception>
+ <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary"/> is read-only.-or- The <see cref="T:System.Collections.IDictionary"/> has a fixed size. </exception>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.Clear">
+ <summary>
+ Removes all elements from the <see cref="T:System.Collections.IDictionary"/> object.
+ </summary>
+ <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary"/> object is read-only. </exception>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.System#Collections#IDictionary#GetEnumerator">
+ <summary>
+ Returns an <see cref="T:System.Collections.IDictionaryEnumerator"/> object for the <see cref="T:System.Collections.IDictionary"/> object.
+ </summary>
+ <returns>
+ An <see cref="T:System.Collections.IDictionaryEnumerator"/> object for the <see cref="T:System.Collections.IDictionary"/> object.
+ </returns>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.Remove(System.Object)">
+ <summary>
+ Removes the element with the specified key from the <see cref="T:System.Collections.IDictionary"/> object.
+ </summary>
+ <param name="key">The key of the element to remove.</param>
+ <exception cref="T:System.ArgumentNullException">
+ <paramref name="key"/> is null. </exception>
+ <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary"/> object is read-only.-or- The <see cref="T:System.Collections.IDictionary"/> has a fixed size. </exception>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.CopyTo(System.Array,System.Int32)">
+ <summary>
+ Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an <see cref="T:System.Array"/>, starting at a particular <see cref="T:System.Array"/> index.
+ </summary>
+ <param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of the elements copied from <see cref="T:System.Collections.ICollection"/>. The <see cref="T:System.Array"/> must have zero-based indexing.</param>
+ <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
+ <exception cref="T:System.ArgumentNullException">
+ <paramref name="array"/> is null. </exception>
+ <exception cref="T:System.ArgumentOutOfRangeException">
+ <paramref name="index"/> is less than zero. </exception>
+ <exception cref="T:System.ArgumentException">
+ <paramref name="array"/> is multidimensional.-or- <paramref name="index"/> is equal to or greater than the length of <paramref name="array"/>.-or- The number of elements in the source <see cref="T:System.Collections.ICollection"/> is greater than the available space from <paramref name="index"/> to the end of the destination <paramref name="array"/>. </exception>
+ <exception cref="T:System.ArgumentException">The type of the source <see cref="T:System.Collections.ICollection"/> cannot be cast automatically to the type of the destination <paramref name="array"/>. </exception>
+ </member>
+ <member name="M:Castle.Core.ReflectionBasedDictionaryAdapter.GetEnumerator">
+ <summary>
+ Returns an enumerator that iterates through a collection.
+ </summary>
+ <returns>
+ An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
+ </returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.Item(System.Object)">
+ <summary>
+ Gets or sets the <see cref="T:System.Object"/> with the specified key.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.Keys">
+ <summary>
+ Gets an <see cref="T:System.Collections.ICollection"/> object containing the keys of the <see cref="T:System.Collections.IDictionary"/> object.
+ </summary>
+ <value></value>
+ <returns>An <see cref="T:System.Collections.ICollection"/> object containing the keys of the <see cref="T:System.Collections.IDictionary"/> object.</returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.Values">
+ <summary>
+ Gets an <see cref="T:System.Collections.ICollection"/> object containing the values in the <see cref="T:System.Collections.IDictionary"/> object.
+ </summary>
+ <value></value>
+ <returns>An <see cref="T:System.Collections.ICollection"/> object containing the values in the <see cref="T:System.Collections.IDictionary"/> object.</returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.IsReadOnly">
+ <summary>
+ Gets a value indicating whether the <see cref="T:System.Collections.IDictionary"/> object is read-only.
+ </summary>
+ <value></value>
+ <returns>true if the <see cref="T:System.Collections.IDictionary"/> object is read-only; otherwise, false.</returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.IsFixedSize">
+ <summary>
+ Gets a value indicating whether the <see cref="T:System.Collections.IDictionary"/> object has a fixed size.
+ </summary>
+ <value></value>
+ <returns>true if the <see cref="T:System.Collections.IDictionary"/> object has a fixed size; otherwise, false.</returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.Count">
+ <summary>
+ Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
+ </summary>
+ <value></value>
+ <returns>The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.</returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.SyncRoot">
+ <summary>
+ Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
+ </summary>
+ <value></value>
+ <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.</returns>
+ </member>
+ <member name="P:Castle.Core.ReflectionBasedDictionaryAdapter.IsSynchronized">
+ <summary>
+ Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread safe).
+ </summary>
+ <value></value>
+ <returns>true if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread safe); otherwise, false.</returns>
+ </member>
</members>
</doc>
View
BIN  lib/NHibernate/Castle.DynamicProxy2.dll
Binary file not shown
View
778 lib/NHibernate/Castle.DynamicProxy2.xml
@@ -43,7 +43,7 @@
</summary>
</member>
<member name="T:Castle.DynamicProxy.Generators.Emitters.LdcOpCodesDictionary">
- <summary>
+ <summary>s
Provides appropriate Ldc.X opcode for the type of primitive value to be loaded.
</summary>
</member>
@@ -110,9 +110,7 @@
</summary>
<remarks>
TODO:
- - Use the interceptor selector if provided
- Add tests and fixes for 'leaking this' problem
- - Mixin support
</remarks>
</member>
<member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.GetProxyTargetReference">
@@ -229,12 +227,13 @@
</summary>
</member>
- <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.FindMethodOnTargetType(System.Reflection.MethodInfo,System.Type)">
+ <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.FindMethodOnTargetType(System.Reflection.MethodInfo,System.Type,System.Boolean)">
<summary>
Finds the type of the method on target.
</summary>
<param name="methodOnInterface">The method on interface.</param>
<param name="proxyTargetType">Type of the proxy target.</param>
+ /// <param name="checkMixins">if set to <c>true</c> will check implementation on mixins.</param>
<returns></returns>
</member>
<member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.IsTypeEquivalent(System.Type,System.Type)">
@@ -246,6 +245,14 @@
<param name="targetType"></param>
<returns></returns>
</member>
+ <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.IsMethodEquivalent(System.Reflection.MethodInfo,System.Reflection.MethodInfo)">
+ <summary>
+ Checks whether the given methods are the same.
+ </summary>
+ <param name="methodInfo"></param>
+ <param name="methodOnInterface"></param>
+ <returns>True if the methods are the same.</returns>
+ </member>
<member name="T:Castle.DynamicProxy.Generators.InterfaceGeneratorType">
<summary>
This is used by the ProxyObjectReference class durin de-serialiation, to know
@@ -265,108 +272,207 @@
</member>
<member name="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.ResetScope">
<summary>
- Usefull for test cases
+ Resets the <see cref="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope"/> used for deserialization to a new scope.
+ </summary>
+ <remarks>This is useful for test cases.</remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.SetScope(Castle.DynamicProxy.ModuleScope)">
+ <summary>
+ Resets the <see cref="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope"/> used for deserialization to a given <paramref name="scope"/>.
</summary>
+ <param name="scope">The scope to be used for deserialization.</param>
+ <remarks>By default, the deserialization process uses a different scope than the rest of the application, which can lead to multiple proxies
+ being generated for the same type. By explicitly setting the deserialization scope to the application's scope, this can be avoided.</remarks>
+ </member>
+ <member name="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope">
+ <summary>
+ Gets the <see cref="T:Castle.DynamicProxy.ModuleScope"/> used for deserialization.
+ </summary>
+ <value>As <see cref="T:Castle.DynamicProxy.Serialization.ProxyObjectReference"/> has no way of automatically determining the scope used by the application (and the application
+ might use more than one scope at the same time), <see cref="T:Castle.DynamicProxy.Serialization.ProxyObjectReference"/> uses a dedicated scope instance for deserializing proxy
+ types. This instance can be reset and set to a specific value via <see cref="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.ResetScope"/> and <see cref="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.SetScope(Castle.DynamicProxy.ModuleScope)"/>.</value>
</member>
<member name="T:Castle.DynamicProxy.IProxyGenerationHook">
<summary>
- Used during the target type inspection process.
- Implementors have a chance to interfere in the
- proxy generation process
+ Used during the target type inspection process. Implementors have a chance to customize the
+ proxy generation process.
</summary>
</member>
<member name="M:Castle.DynamicProxy.IProxyGenerationHook.ShouldInterceptMethod(System.Type,System.Reflection.MethodInfo)">
<summary>
- Invoked by the generation process to know if
- the specified member should be proxied
+ Invoked by the generation process to determine if the specified method should be proxied.
</summary>
- <param name="type"></param>
- <param name="memberInfo"></param>
- <returns></returns>
+ <param name="type">The type which declares the given method.</param>
+ <param name="methodInfo">The method to inspect.</param>
+ <returns>True if the given method should be proxied; false otherwise.</returns>
</member>
<member name="M:Castle.DynamicProxy.IProxyGenerationHook.NonVirtualMemberNotification(System.Type,System.Reflection.MemberInfo)">
<summary>
- Invoked by the generation process to notify that a
- member wasn't marked as virtual.
+ Invoked by the generation process to notify that a member was not marked as virtual.
</summary>
- <param name="type"></param>
- <param name="memberInfo"></param>
+ <param name="type">The type which declares the non-virtual member.</param>
+ <param name="memberInfo">The non-virtual member.</param>
+ <remarks>
+ Non-virtual members cannot be proxied. This method gives an opportunity to inspect
+ any non-virtual member of a type that has been requested to be proxied, and if
+ appropriate - throw an exception to notify the caller.
+ </remarks>
</member>
<member name="M:Castle.DynamicProxy.IProxyGenerationHook.MethodsInspected">
<summary>
- Invoked by the generation process to notify
- that the whole process is completed.
+ Invoked by the generation process to notify that the whole process has completed.
+ </summary>
+ </member>
+ <member name="T:Castle.DynamicProxy.CacheMappingsAttribute">
+ <summary>
+ Applied to the assemblies saved by <see cref="T:Castle.DynamicProxy.ModuleScope"/> in order to persist the cache data included in the persisted assembly.
+ </summary>
+ </member>
+ <member name="T:Castle.DynamicProxy.DefaultProxyBuilder">
+ <summary>
+ Default implementation of <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> interface producing in-memory proxy assemblies.
</summary>
</member>
<member name="T:Castle.DynamicProxy.IProxyBuilder">
<summary>
- Abstracts the implementation of proxy constructions
+ Abstracts the implementation of proxy type construction.
</summary>
</member>
<member name="M:Castle.DynamicProxy.IProxyBuilder.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
- Implementors should return a proxy for the specified type.
+ Creates a proxy type for given <paramref name="classToProxy"/>, using <paramref name="options"/> provided.
</summary>
- <param name="theClass">The proxy base class.</param>
+ <param name="classToProxy">The class type to proxy.</param>
<param name="options">The proxy generation options.</param>
<returns>The generated proxy type.</returns>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="classToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="classToProxy"/> is not public.
+ Note that to avoid this exception, you can mark offending type internal, and define <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute"/>
+ pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate.</exception>
+ <seealso cref="T:Castle.DynamicProxy.Generators.ClassProxyGenerator"/>
</member>
<member name="M:Castle.DynamicProxy.IProxyBuilder.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
- Implementors should return a proxy for the specified
- type and interfaces. The interfaces must be only "mark" interfaces
+ Creates a proxy type for given <paramref name="classToProxy"/>, implementing <paramref name="additionalInterfacesToProxy"/>, using <paramref name="options"/> provided.
</summary>
- <param name="theClass"></param>
- <param name="interfaces"></param>
- <param name="options"></param>
- <returns></returns>
+ <param name="classToProxy">The class type to proxy.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types to proxy.</param>
+ <param name="options">The proxy generation options.</param>
+ <returns>The generated proxy type.</returns>
+ <remarks>
+ Implementers should return a proxy type for the specified class and interfaces.
+ Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See <see cref="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)"/> method.)
+ </remarks>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="classToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="classToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is not public.
+ Note that to avoid this exception, you can mark offending type internal, and define <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute"/>
+ pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate.</exception>
+ <seealso cref="T:Castle.DynamicProxy.Generators.ClassProxyGenerator"/>
</member>
<member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTarget(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
- Implementors should return a proxy for the specified
- interface that 'proceeds' executions to the
- specified target.
+ Creates a proxy type that proxies calls to <paramref name="interfaceToProxy"/> members on <paramref name="targetType"/>, implementing <paramref name="additionalInterfacesToProxy"/>, using <paramref name="options"/> provided.
</summary>
- <param name="theInterface"></param>
- <param name="interfaces"></param>
- <param name="targetType"></param>
- <param name="options"></param>
- <returns></returns>
+ <param name="interfaceToProxy">The interface type to proxy.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types to proxy.</param>
+ <param name="targetType">Type implementing <paramref name="interfaceToProxy"/> on which calls to the interface members should be intercepted.</param>
+ <param name="options">The proxy generation options.</param>
+ <returns>The generated proxy type.</returns>
+ <remarks>
+ Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target.
+ Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See <see cref="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)"/> method.)
+ </remarks>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is not public.
+ Note that to avoid this exception, you can mark offending type internal, and define <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute"/>
+ pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate.</exception>
+ <seealso cref="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator"/>
</member>
<member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
- Implementors should return a proxy for the specified
- interface that delegate all executions to the
- specified interceptor(s).
+ Creates a proxy type for given <paramref name="interfaceToProxy"/> that delegates all calls to the provided interceptors.
</summary>
- <param name="theInterface"></param>
- <param name="interfaces"></param>
- <param name="options"></param>
- <returns></returns>
+ <param name="interfaceToProxy">The interface type to proxy.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types to proxy.</param>
+ <param name="options">The proxy generation options.</param>
+ <returns>The generated proxy type.</returns>
+ <remarks>
+ Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors.
+ </remarks>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is not public.
+ Note that to avoid this exception, you can mark offending type internal, and define <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute"/>
+ pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate.</exception>
+ <seealso cref="T:Castle.DynamicProxy.Generators.InterfaceProxyWithoutTargetGenerator"/>
</member>
- <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTargetInterface(System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
+ <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
- Implementors should return a proxy for the specified
- interface that delegate all executions to the
- specified interceptor(s) and uses an instance of the interface
- as their targets, rather than a class. All IInvocation's
- should then implement IChangeProxyTarget.
+ Creates a proxy type for given <paramref name="interfaceToProxy"/> and <parmaref name="additionalInterfacesToProxy"/> that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation.
</summary>
- <param name="theInterface"></param>
- <param name="options"></param>
- <returns></returns>
+ <param name="interfaceToProxy">The interface type to proxy.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types to proxy.</param>
+ <param name="options">The proxy generation options.</param>
+ <returns>The generated proxy type.</returns>
+ <remarks>
+ Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors
+ and uses an instance of the interface as their targets (i.e. <see cref="P:Castle.Core.Interceptor.IInvocation.InvocationTarget"/>), rather than a class. All <see cref="T:Castle.Core.Interceptor.IInvocation"/> classes should then implement <see cref="T:Castle.Core.Interceptor.IChangeProxyTarget"/> interface,
+ to allow interceptors to switch invocation target with instance of another type implementing called interface.
+ </remarks>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:Castle.DynamicProxy.Generators.GeneratorException">Thrown when <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is not public.
+ Note that to avoid this exception, you can mark offending type internal, and define <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute"/>
+ pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate.</exception>
+ <seealso cref="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetInterfaceGenerator"/>
</member>
<member name="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope">
<summary>
- Gets the module scope used by this builder for generating code.
+ Gets the <see cref="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope"/> associated with this builder.
</summary>
- <value>The module scope used by this builder.</value>
+ <value>The module scope associated with this builder.</value>
+ </member>
+ <member name="M:Castle.DynamicProxy.DefaultProxyBuilder.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Castle.DynamicProxy.DefaultProxyBuilder"/> class with new <see cref="T:Castle.DynamicProxy.ModuleScope"/>.
+ </summary>
+ </member>
+ <member name="M:Castle.DynamicProxy.DefaultProxyBuilder.#ctor(Castle.DynamicProxy.ModuleScope)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Castle.DynamicProxy.DefaultProxyBuilder"/> class.
+ </summary>
+ <param name="scope">The module scope for generated proxy types.</param>
+ </member>
+ <member name="T:Castle.DynamicProxy.IInterceptorSelector">
+ <summary>
+ Provides an extension point that allows proxies to choose specific interceptors on
+ a per method basis.
+ </summary>
+ </member>
+ <member name="M:Castle.DynamicProxy.IInterceptorSelector.SelectInterceptors(System.Type,System.Reflection.MethodInfo,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Selects the interceptors that should intercept calls to the given <paramref name="method"/>.
+ </summary>
+ <param name="type">The type declaring the method to intercept.</param>
+ <param name="method">The method that will be intercepted.</param>
+ <param name="interceptors">All interceptors registered with the proxy.</param>
+ <returns>An array of interceptors to invoke upon calling the <paramref name="method"/>.</returns>
+ <remarks>
+ This method is called only once per proxy instance, upon the first call to the
+ <paramref name="method"/>. Either an empty array or null are valid return values to indicate
+ that no interceptor should intercept calls to the method. Although it is not advised, it is
+ legal to return other <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations than these provided in
+ <paramref name="interceptors"/>. A better way to do this, is by passing all the required
+ interceptors to the appropriate method of <see cref="T:Castle.DynamicProxy.ProxyGenerator"/>. You can use this
+ method to influence the order in which interceptors will be called, by reordering the array.
+ Returning an array containing null references (Nothing in Visual Basic) is not legal,
+ and will result in a runtime exception.
+ </remarks>
+ <seealso cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/>
</member>
<member name="M:Castle.DynamicProxy.InternalsHelper.IsInternalToDynamicProxy(System.Reflection.Assembly)">
<summary>
- Determines whether this assembly has internals visisble to dynamic proxy.
+ Determines whether this assembly has internals visible to dynamic proxy.
</summary>
- <param name="asm">The asm.</param>
+ <param name="asm">The assembly to inspect.</param>
</member>
<member name="M:Castle.DynamicProxy.InternalsHelper.IsInternal(System.Reflection.MethodInfo)">
<summary>
@@ -377,6 +483,17 @@
<c>true</c> if the specified method is internal; otherwise, <c>false</c>.
</returns>
</member>
+ <member name="M:Castle.DynamicProxy.MixinData.#ctor(System.Collections.Generic.IEnumerable{System.Object})">
+ <summary>
+ Because we need to cache the types based on the mixed in mixins, we do the following here:
+ - Get all the mixin interfaces
+ - Sort them by full name
+ - Return them by position
+
+ The idea is to have reproducable behavior for the case that mixins are registered in different orders.
+ This method is here because it is required
+ </summary>
+ </member>
<member name="T:Castle.DynamicProxy.ModuleScope">
<summary>
Summary description for ModuleScope.
@@ -468,8 +585,8 @@
<para>
If this <see cref="T:Castle.DynamicProxy.ModuleScope"/> was created without indicating that the assembly should be saved, this method does nothing.
</para></remarks>
- <exception cref="T:System.InvalidOperationException">Both a strong-named and a weak-named assembly have been generated or no assembly has been
- generated.</exception>
+ <exception cref="T:System.InvalidOperationException">Both a strong-named and a weak-named assembly have been generated.</exception>
+ <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
</member>
<member name="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)">
<summary>
@@ -489,6 +606,18 @@
</remarks>
<exception cref="T:System.InvalidOperationException">No assembly has been generated that matches the <paramref name="strongNamed"/> parameter.
</exception>
+ <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
+ </member>
+ <member name="M:Castle.DynamicProxy.ModuleScope.LoadAssemblyIntoCache(System.Reflection.Assembly)">
+ <summary>
+ Loads the generated types from the given assembly into this <see cref="T:Castle.DynamicProxy.ModuleScope"/>'s cache.
+ </summary>
+ <param name="assembly">The assembly to load types from. This assembly must have been saved via <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)"/> or
+ <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly"/>, or it must have the <see cref="T:Castle.DynamicProxy.CacheMappingsAttribute"/> manually applied.</param>
+ <remarks>
+ This method can be used to load previously generated and persisted proxy types from disk into this scope's type cache, eg. in order
+ to avoid the performance hit associated with proxy generation.
+ </remarks>
</member>
<member name="P:Castle.DynamicProxy.ModuleScope.RWLock">
<summary>
@@ -548,6 +677,14 @@
Initializes a new instance of the <see cref="T:Castle.DynamicProxy.PersistentProxyBuilder"/> class.
</summary>
</member>
+ <member name="M:Castle.DynamicProxy.PersistentProxyBuilder.SaveAssembly">
+ <summary>
+ Saves the generated assembly to a physical file. Note that this renders the <see cref="T:Castle.DynamicProxy.PersistentProxyBuilder"/> unusable.
+ </summary>
+ <returns>The path of the generated assembly file, or null if no assembly has been generated.</returns>
+ <remarks>This method does not support saving multiple files. If both a signed and an unsigned module have been generated, use the
+ respective methods of the <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</remarks>
+ </member>
<member name="M:Castle.DynamicProxy.ProxyGenerationOptions.#ctor(Castle.DynamicProxy.IProxyGenerationHook)">
<summary>
Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> class.
@@ -559,58 +696,535 @@
Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> class.
</summary>
</member>
+ <member name="T:Castle.DynamicProxy.ProxyGenerator">
+ <summary>
+ Provides proxy objects for classes and interfaces.
+ </summary>
+ </member>
<member name="M:Castle.DynamicProxy.ProxyGenerator.#ctor(Castle.DynamicProxy.IProxyBuilder)">
<summary>
Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> class.
</summary>
- <param name="builder">The builder.</param>
+ <param name="builder">Proxy types builder.</param>
</member>
<member name="M:Castle.DynamicProxy.ProxyGenerator.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> class.
</summary>
</member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget``1(``0,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <typeparamref name="TInterface"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TInterface">Type of the interface implemented by <paramref name="target"/> which will be proxied.</typeparam>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>Object proxying calls to members of <typeparamref name="TInterface"/> on <paramref name="target"/> object.</returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <typeparamref name="TInterface"/>is not an interface type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget``1(System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <typeparamref name="TInterface"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TInterface">Type of the interface implemented by <paramref name="target"/> which will be proxied.</typeparam>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <typeparamref name="TInterface"/> on <paramref name="target"/> object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <typeparamref name="TInterface"/>is not an interface type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget(System.Type,System.Object,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> type on <paramref name="target"/> object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget(System.Type,System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> type on <paramref name="target"/> object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget(System.Type,System.Type[],System.Object,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types on <paramref name="target"/> object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget(System.Type,System.Type[],System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types on <paramref name="target"/> object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Object,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ Interceptors can use <see cref="T:Castle.Core.Interceptor.IChangeProxyTarget"/> interface to provide other target for method invocation than default <paramref name="target"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> type on <paramref name="target"/> object or alternative implementation swapped at runtime by an interceptor.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ Interceptors can use <see cref="T:Castle.Core.Interceptor.IChangeProxyTarget"/> interface to provide other target for method invocation than default <paramref name="target"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> type on <paramref name="target"/> object or alternative implementation swapped at runtime by an interceptor.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Type[],System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on <paramref name="target"/> object with given <paramref name="interceptors"/>.
+ Interceptors can use <see cref="T:Castle.Core.Interceptor.IChangeProxyTarget"/> interface to provide other target for method invocation than default <paramref name="target"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface implemented by <paramref name="target"/> which will be proxied.</param>
+ <param name="target">The target object, calls to which will be intercepted.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types on <paramref name="target"/> object or alternative implementation swapped at runtime by an interceptor.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="target"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="target"/> does not implement <paramref name="interfaceToProxy"/> interface.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on actual type of <paramref name="target"/> object.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of actual type of <paramref name="target"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget``1(Castle.Core.Interceptor.IInterceptor)">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <typeparamref name="TInterface"/> on target object generated at runtime with given <paramref name="interceptor"/>.
+ </summary>
+ <typeparam name="TInterface">Type of the interface which will be proxied.</typeparam>
+ <param name="interceptor">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <typeparamref name="TInterface"/> types on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptor"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <typeparamref name="TInterface"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations.
+ They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call <see cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget``1(Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <typeparamref name="TInterface"/> on target object generated at runtime with given <paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TInterface">Type of the interface which will be proxied.</typeparam>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <typeparamref name="TInterface"/> types on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <typeparamref name="TInterface"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations.
+ They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call <see cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual implementation to proceed with.
+ As a result of that also at least one <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementation must be provided.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,Castle.Core.Interceptor.IInterceptor)">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on target object generated at runtime with given <paramref name="interceptor"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface which will be proxied.</param>
+ <param name="interceptor">The interceptor called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> type on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptor"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations.
+ They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call <see cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on target object generated at runtime with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface which will be proxied.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> type on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations.
+ They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call <see cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,System.Type[],Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on target object generated at runtime with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface which will be proxied.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations.
+ They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call <see cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface <paramref name="interfaceToProxy"/> on target object generated at runtime with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface which will be proxied.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref name="interfaceToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interfaceToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="interceptors"/> array is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of <paramref name="additionalInterfacesToProxy"/> to proxy generated at runtime, the actual implementation of proxied methods must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations.
+ They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call <see cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy``1(Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type <typeparamref name="TClass"/> on newly created instance of that type with given <paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TClass">Type of class which will be proxied.</typeparam>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <typeparamref name="TClass"/> proxying calls to virtual members of <typeparamref name="TClass"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentException">Thrown when given <typeparamref name="TClass"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on type <typeparamref name="TClass"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of type <typeparamref name="TClass"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type <paramref name="classToProxy"/> on newly created instance of that type with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="classToProxy">Type of class which will be proxied.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls to virtual members of <paramref name="classToProxy"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="classToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on type <paramref name="classToProxy"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.Core.Interceptor.IInterceptor[])">
<summary>
- Creates the class proxy.
+ Creates proxy object intercepting calls to virtual members of type <paramref name="classToProxy"/> on newly created instance of that type with given <paramref name="interceptors"/>.
</summary>
- <param name="targetType">Type of the target.</param>
- <param name="interfaces">The interfaces.</param>
- <param name="interceptors">The interceptors.</param>
- <returns></returns>
+ <param name="classToProxy">Type of class which will be proxied.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls to virtual members of <paramref name="classToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="classToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on type <paramref name="classToProxy"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
</member>
<member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.Core.Interceptor.IInterceptor[],System.Object[])">
<summary>
- Creates the class proxy.
+ Creates proxy object intercepting calls to virtual members of type <paramref name="classToProxy"/> on newly created instance of that type with given <paramref name="interceptors"/>.
</summary>
- <param name="targetType">Type of the target.</param>
- <param name="interceptors">The interceptors.</param>
- <param name="constructorArgs">The constructor args.</param>
- <returns></returns>
+ <param name="classToProxy">Type of class which will be proxied.</param>
+ <param name="constructorArguments">Arguments of constructor of type <paramref name="classToProxy"/> which should be used to create a new instance of that type.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls to virtual members of <paramref name="classToProxy"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="classToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no constructor exists on type <paramref name="classToProxy"/> with parameters matching <paramref name="constructorArguments"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when constructor of type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
</member>
<member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
<summary>
-
+ Creates proxy object intercepting calls to virtual members of type <paramref name="classToProxy"/> on newly created instance of that type with given <paramref name="interceptors"/>.
</summary>
- <param name="targetType"></param>
- <param name="options"></param>
- <param name="interceptors"></param>
- <returns></returns>
+ <param name="classToProxy">Type of class which will be proxied.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls to virtual members of <paramref name="classToProxy"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="classToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="options"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on type <paramref name="classToProxy"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type <paramref name="classToProxy"/> on newly created instance of that type with given <paramref name="interceptors"/>.
+ </summary>
+ <param name="classToProxy">Type of class which will be proxied.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls to virtual members of <paramref name="classToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="classToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="options"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no default constructor exists on type <paramref name="classToProxy"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when default constructor of type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
</member>
<member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
<summary>
- Creates the class proxy.
+ Creates proxy object intercepting calls to virtual members of type <paramref name="classToProxy"/> on newly created instance of that type with given <paramref name="interceptors"/>.
</summary>
- <param name="targetType">Type of the target.</param>
- <param name="interfaces">The interfaces.</param>
- <param name="options">The options.</param>
- <param name="constructorArgs">The constructor args.</param>
- <param name="interceptors">The interceptors.</param>
- <returns></returns>
+ <param name="classToProxy">Type of class which will be proxied.</param>
+ <param name="additionalInterfacesToProxy">Additional interface types. Calls to their members will be proxied as well.</param>
+ <param name="options">The proxy generation options used to influence generated proxy type and object.</param>
+ <param name="constructorArguments">Arguments of constructor of type <paramref name="classToProxy"/> which should be used to create a new instance of that type.</param>
+ <param name="interceptors">The interceptors called during the invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls to virtual members of <paramref name="classToProxy"/> and <paramref name="additionalInterfacesToProxy"/> types.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="classToProxy"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given <paramref name="options"/> object is a null reference (Nothing in Visual Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> or any of <paramref name="additionalInterfacesToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given <paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.MissingMethodException">Thrown when no constructor exists on type <paramref name="classToProxy"/> with parameters matching <paramref name="constructorArguments"/>.</exception>
+ <exception cref="T:System.Reflection.TargetInvocationException">Thrown when constructor of type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxyType(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
+ <summary>
+ Creates the proxy type for class proxy with given <paramref name="classToProxy"/> class, implementing given <paramref name="additionalInterfacesToProxy"/> and using provided <paramref name="options"/>.
+ </summary>
+ <param name="classToProxy">The base class for proxy type.</param>
+ <param name="additionalInterfacesToProxy">The interfaces that proxy type should implement.</param>
+ <param name="options">The options for proxy generation process.</param>
+ <returns><see cref="T:System.Type"/> of proxy.</returns>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithTarget(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
+ <summary>
+ Creates the proxy type for interface proxy with target for given <paramref name="interfaceToProxy"/> interface, implementing given <paramref name="additionalInterfacesToProxy"/> on given <paramref name="targetType"/> and using provided <paramref name="options"/>.
+ </summary>
+ <param name="interfaceToProxy">The interface proxy type should implement.</param>
+ <param name="additionalInterfacesToProxy">The additional interfaces proxy type should implement.</param>
+ <param name="targetType">Actual type that the proxy type will encompass.</param>
+ <param name="options">The options for proxy generation process.</param>
+ <returns><see cref="T:System.Type"/> of proxy.</returns>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
+ <summary>
+ Creates the proxy type for interface proxy with target interface for given <paramref name="interfaceToProxy"/> interface, implementing given <paramref name="additionalInterfacesToProxy"/> on given <paramref name="targetType"/> and using provided <paramref name="options"/>.
+ </summary>
+ <param name="interfaceToProxy">The interface proxy type should implement.</param>
+ <param name="additionalInterfacesToProxy">The additional interfaces proxy type should implement.</param>
+ <param name="targetType">Actual type that the proxy type will encompass.</param>
+ <param name="options">The options for proxy generation process.</param>
+ <returns><see cref="T:System.Type"/> of proxy.</returns>
+ </member>
+ <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
+ <summary>
+ Creates the proxy type for interface proxy without target for given <paramref name="interfaceToProxy"/> interface, implementing given <paramref name="additionalInterfacesToProxy"/> and using provided <paramref name="options"/>.
+ </summary>
+ <param name="interfaceToProxy">The interface proxy type should implement.</param>
+ <param name="additionalInterfacesToProxy">The additional interfaces proxy type should implement.</param>
+ <param name="options">The options for proxy generation process.</param>
+ <returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
<member name="P:Castle.DynamicProxy.ProxyGenerator.ProxyBuilder">
<summary>
- Gets the proxy builder instance.
+ Gets the proxy builder instance used to generate proxy types.
</summary>
<value>The proxy builder.</value>
</member>
View
BIN  lib/NHibernate/Iesi.Collections.Test.dll
Binary file not shown
View
BIN  lib/NHibernate/Iesi.Collections.dll
Binary file not shown
View
16 lib/NHibernate/Iesi.Collections.xml
@@ -941,6 +941,22 @@
Indicates that the given instance is read-only
</summary>
</member>
+ <member name="T:Iesi.Collections.Generic.OrderedSet`1">
+ <summary>
+ Implements an ordered <c>Set</c> based on a dictionary.
+ </summary>
+ </member>
+ <member name="M:Iesi.Collections.Generic.OrderedSet`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Iesi.Collections.Generic.OrderedSet`1"/> class.
+ </summary>
+ </member>
+ <member name="M:Iesi.Collections.Generic.OrderedSet`1.#ctor(System.Collections.Generic.ICollection{`0})">
+ <summary>
+ Initializes a new instance of the <see cref="T:Iesi.Collections.Generic.OrderedSet`1"/> class.
+ </summary>
+ <param name="initialValues">A collection of elements that defines the initial set contents.</param>
+ </member>
<member name="T:Iesi.Collections.Generic.SortedSet`1">
<summary>
Implements a <c>Set</c> based on a sorted tree. This gives good performance for operations on very
View
BIN  lib/NHibernate/NHibernate.Linq.dll
Binary file not shown
View
BIN  lib/NHibernate/NHibernate.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.GenericWidgets.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.GenericWidgets.pdb
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget.pdb
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget2.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget2.pdb
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget3.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget3.pdb
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget4.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget4.pdb
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget5.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.Widget5.pdb
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.dll
Binary file not shown
View
BIN  lib/StructureMap/StructureMap.Testing.pdb
Binary file not shown
View
2  rakefile.rb
@@ -93,7 +93,7 @@ def copyOutputFiles(fromDir, filePattern, outDir)
desc "Runs unit tests"
task :unit_test => :compile do
runner = NUnitRunner.new :compilemode => COMPILE_TARGET, :source => 'src', :platform => 'x86'
- runner.executeTests ['FubuMVC.Tests', 'FubuCore.Testing', 'FubuLocalization.Tests', 'HtmlTags.Testing', 'Spark.Web.FubuMVC.Tests']
+ runner.executeTests ['FubuMVC.Tests', 'FubuCore.Testing', 'FubuLocalization.Tests', 'HtmlTags.Testing', 'Spark.Web.FubuMVC.Tests', 'FubuValidation.Tests', 'FubuFastPack.Testing']
end
desc "Target used for the CI server"
View
36 src/FubuMVC.sln
@@ -36,7 +36,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fubu", "Fubu\Fubu.csproj",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FubuTestApplication", "FubuTestApplication\FubuTestApplication.csproj", "{8FFDBE50-4E00-4940-BC8F-7AF85278B247}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StoryTellerTesting", "StoryTellerTesting\StoryTellerTesting.csproj", "{022C7B24-4417-493F-9F70-E3F4035FBEDA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTesting", "StoryTellerTesting\IntegrationTesting.csproj", "{022C7B24-4417-493F-9F70-E3F4035FBEDA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestPackage1", "TestPackage1\TestPackage1.csproj", "{1F18D6EB-4D9C-407A-BD70-C5D525E377B6}"
EndProject
@@ -52,6 +52,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FubuLocalization", "FubuLoc
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FubuLocalization.Tests", "FubuLocalization.Tests\FubuLocalization.Tests.csproj", "{AFD1AFE7-0B3E-4087-ABF8-73B7E212D320}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FubuFastPack", "FubuFastPack\FubuFastPack.csproj", "{F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FubuFastPack.Testing", "FubuFastPack.Testing\FubuFastPack.Testing.csproj", "{90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -391,6 +395,36 @@ Global
{AFD1AFE7-0B3E-4087-ABF8-73B7E212D320}.Retail|Any CPU.Build.0 = Release|Any CPU
{AFD1AFE7-0B3E-4087-ABF8-73B7E212D320}.Retail|Mixed Platforms.ActiveCfg = Release|Any CPU
{AFD1AFE7-0B3E-4087-ABF8-73B7E212D320}.Retail|x86.ActiveCfg = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Release|x86.ActiveCfg = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Retail|Any CPU.ActiveCfg = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Retail|Any CPU.Build.0 = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Retail|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Retail|Mixed Platforms.Build.0 = Release|Any CPU
+ {F274E0DD-F9B1-41FE-A3F6-89EE74FE3F56}.Retail|x86.ActiveCfg = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Release|x86.ActiveCfg = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Retail|Any CPU.ActiveCfg = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Retail|Any CPU.Build.0 = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Retail|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Retail|Mixed Platforms.Build.0 = Release|Any CPU
+ {90CB4AF5-491C-45DB-8F46-16D95B6A9F7F}.Retail|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution