diff --git a/CHANGELOG.md b/CHANGELOG.md index d62e60c3d8..b19e92f2da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Castle Core Changelog +## Unreleased + +Deprecations: + - Removed support for the .NET Framework 3.5. + ## 4.4.1 (2020-05-06) Bugfixes: diff --git a/README.md b/README.md index 92ff4cdf79..562b145ce0 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Browse the [contributing section](https://github.com/castleproject/Home#its-comm build.cmd ``` -Compilation requires an up-to-date .NET Core SDK, MSBuild 15+ (which should be included in the former), and reference assemblies for the .NET Framework versions 3.5, 4.0, and 4.5. +Compilation requires an up-to-date .NET Core SDK and MSBuild 15+ (which should be included in the former). Running the unit tests additionally requires the .NET Framework 4.6.1+ as well as the .NET Core 1.1 runtime to be installed. @@ -46,9 +46,9 @@ Most of these requirements should be covered by Visual Studio 2017. ./build.sh ``` -Compilation requires an up-to-date .NET Core SDK, as well as Mono for the .NET Framework reference assemblies. We recommend Mono 5.10+, though older versions (4.6.1+) might still work as well. +Compilation requires an up-to-date .NET Core SDK. -Running the unit tests additionally requires the .NET Core 1.1 runtime to be installed. +Running the unit tests additionally requires the .NET Core 1.1 runtime to be installed, as well as either Docker or Mono. For the latter, we recommend Mono 5.10+, though older versions (4.6.1+) might still work as well. :information_source: **Mono runtime support:** Castle Core runs with minor limitations and defects on Mono 4.0.2+ (however 4.6.1+ is highly recommended, or 5.10+ if your code uses new C# 7.x language features such as `in` parameters). @@ -60,35 +60,34 @@ For known Mono defects, check [our issue tracker](https://github.com/castleproje The following conditional compilation symbols (vertical) are currently defined for each of the build configurations (horizontal): -Symbol | NET35 | NET40 | NET45 | .NET Core ------------------------------------ | ------------------ | ------------------ | ------------------ | ------------------ -`FEATURE_APPDOMAIN` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_ASSEMBLYBUILDER_SAVE` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_BINDINGLIST` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_DICTIONARYADAPTER_XML` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_CUSTOMMODIFIERS` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_EVENTLOG` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_GAC` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_GET_REFERENCED_ASSEMBLIES` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_IDATAERRORINFO` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_ISUPPORTINITIALIZE` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_LEGACY_REFLECTION_API` | :white_check_mark: | :white_check_mark: | :no_entry_sign: | :no_entry_sign: -`FEATURE_LISTSORT` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_NETCORE_REFLECTION_API` | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :white_check_mark: -`FEATURE_REMOTING` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_SECURITY_PERMISSIONS` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_SERIALIZATION` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_SMTP` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_SYSTEM_CONFIGURATION` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_TARGETEXCEPTION` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_TEST_COM` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_TEST_DATASET` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_TEST_PEVERIFY` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`FEATURE_TEST_SERILOGINTEGRATION` | :no_entry_sign: | :no_entry_sign: | :white_check_mark: | :white_check_mark: ---- | | | | -`DOTNET35` | :white_check_mark: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: -`DOTNET40` | :no_entry_sign: | :white_check_mark: | :white_check_mark: | :no_entry_sign: -`DOTNET45` | :no_entry_sign: | :no_entry_sign: | :white_check_mark: | :no_entry_sign: +Symbol | NET40 | NET45 | .NET Core +----------------------------------- | ------------------ | ------------------ | ------------------ +`FEATURE_APPDOMAIN` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_ASSEMBLYBUILDER_SAVE` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_BINDINGLIST` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_DICTIONARYADAPTER_XML` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_CUSTOMMODIFIERS` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_EVENTLOG` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_GAC` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_GET_REFERENCED_ASSEMBLIES` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_IDATAERRORINFO` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_ISUPPORTINITIALIZE` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_LEGACY_REFLECTION_API` | :white_check_mark: | :no_entry_sign: | :no_entry_sign: +`FEATURE_LISTSORT` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_NETCORE_REFLECTION_API` | :no_entry_sign: | :no_entry_sign: | :white_check_mark: +`FEATURE_REMOTING` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_SECURITY_PERMISSIONS` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_SERIALIZATION` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_SMTP` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_SYSTEM_CONFIGURATION` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_TARGETEXCEPTION` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_TEST_COM` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_TEST_DATASET` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_TEST_PEVERIFY` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`FEATURE_TEST_SERILOGINTEGRATION` | :no_entry_sign: | :white_check_mark: | :white_check_mark: +--- | | | +`DOTNET40` | :white_check_mark: | :white_check_mark: | :no_entry_sign: +`DOTNET45` | :no_entry_sign: | :white_check_mark: | :no_entry_sign: * `FEATURE_APPDOMAIN` - enables support for features that make use of an AppDomain in the host. * `FEATURE_ASSEMBLYBUILDER_SAVE` - enabled support for saving the dynamically generated proxy assembly. @@ -100,7 +99,7 @@ Symbol | NET35 | NET40 | * `FEATURE_GET_REFERENCED_ASSEMBLIES` - enables code that takes advantage of System.Reflection.Assembly.GetReferencedAssemblies(). * `FEATURE_IDATAERRORINFO` - enables code that depends on System.ComponentModel.IDataErrorInfo. * `FEATURE_ISUPPORTINITIALIZE` - enables support for features that make use of System.ComponentModel.ISupportInitialize. -* `FEATURE_LEGACY_REFLECTION_API` - provides a shim for .NET 3.5/4.0 that emulates the `TypeInfo` API available in .NET 4.5+ and .NET Core. +* `FEATURE_LEGACY_REFLECTION_API` - provides a shim for .NET 4.0 that emulates the `TypeInfo` API available in .NET 4.5+ and .NET Core. * `FEATURE_LISTSORT` - enables support for features that make use of System.ComponentModel.ListSortDescription. * `FEATURE_NETCORE_REFLECTION_API` - provides shims to implement missing functionality in .NET Core that has no alternatives. * `FEATURE_REMOTING` - supports remoting on various types including inheriting from MarshalByRefObject. diff --git a/appveyor.yml b/appveyor.yml index 926c93a873..bdb193aefc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ image: -- Visual Studio 2017 +- Visual Studio 2019 - Ubuntu @@ -21,7 +21,6 @@ for: # build and run tests build_script: - uname -a - - mono --version - ./build.sh # upload test results @@ -37,7 +36,7 @@ for: # ------------------- matrix: only: - - image: Visual Studio 2017 + - image: Visual Studio 2019 # update AppVeyor build version; this matters for deployments init: diff --git a/build.sh b/build.sh index 930bb4b77e..eea56cc55d 100755 --- a/build.sh +++ b/build.sh @@ -13,35 +13,32 @@ # See the License for the specific language governing permissions and # limitations under the License. # **************************************************************************** +shopt -s expand_aliases DOTNETPATH=$(which dotnet) if [ ! -f "$DOTNETPATH" ]; then echo "Please install Microsoft/netcore from: https://www.microsoft.com/net/core" exit 1 fi -MONOPATH=$(which mono) -if [ ! -f "$MONOPATH" ]; then - echo "Please install Xamarin/mono from: http://www.mono-project.com/docs/getting-started/install/" - exit 1 +DOCKERPATH=$(which docker) +if [ -f "$DOCKERPATH" ]; then + alias mono="$PWD/buildscripts/docker-run-mono.sh" +else + MONOPATH=$(which mono) + if [ ! -f "$MONOPATH" ]; then + echo "Please install either Docker, or Xamarin/Mono from http://www.mono-project.com/docs/getting-started/install/" + exit 1 + fi fi -# This lets `dotnet` know where to find Mono's reference assemblies when compiling for the `net461` platform: -export FrameworkPathOverride=$(dirname $MONOPATH)/../lib/mono/4.6.1-api/ - -dotnet restore ./src/Castle.Core/Castle.Core.csproj -dotnet restore ./src/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.csproj -dotnet restore ./src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj -dotnet restore ./src/Castle.Services.Logging.SerilogIntegration/Castle.Services.Logging.SerilogIntegration.csproj -dotnet restore ./src/Castle.Core.Tests/Castle.Core.Tests.csproj -dotnet restore ./src/Castle.Core.Tests.WeakNamed/Castle.Core.Tests.WeakNamed.csproj +mono --version # Linux/Darwin OSNAME=$(uname -s) echo "OSNAME: $OSNAME" -dotnet build ./src/Castle.Core.Tests/Castle.Core.Tests.csproj /p:Configuration=Release || exit 1 -dotnet build ./src/Castle.Core.Tests.WeakNamed/Castle.Core.Tests.WeakNamed.csproj /p:Configuration=Release || exit 1 +dotnet build --configuration Release || exit 1 echo -------------------- echo Running NET461 Tests diff --git a/buildscripts/build.cmd b/buildscripts/build.cmd index 774822c605..45992bd019 100644 --- a/buildscripts/build.cmd +++ b/buildscripts/build.cmd @@ -19,28 +19,15 @@ if "%1" NEQ "" goto set_config :set_config SET Configuration=%1 -GOTO restore_packages +GOTO build :no_config SET Configuration=Release -GOTO restore_packages - -:restore_packages -dotnet restore ./tools/Explicit.NuGet.Versions/Explicit.NuGet.Versions.csproj -dotnet restore ./src/Castle.Core/Castle.Core.csproj -dotnet restore ./src/Castle.Core.Tests/Castle.Core.Tests.csproj -dotnet restore ./src/Castle.Core.Tests.WeakNamed/Castle.Core.Tests.WeakNamed.csproj -dotnet restore ./src/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.csproj -dotnet restore ./src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj -dotnet restore ./src/Castle.Services.Logging.SerilogIntegration/Castle.Services.Logging.SerilogIntegration.csproj GOTO build :build -rem Should be the line below but because of https://github.com/Microsoft/msbuild/issues/1333 we needed to use msbuild instead. -rem dotnet build Castle.Core.sln -c %Configuration% dotnet build ./tools/Explicit.NuGet.Versions/Explicit.NuGet.Versions.sln -msbuild /p:Configuration=%Configuration% || exit /b 1 -msbuild /p:Configuration=%Configuration% /t:Pack || exit /b 1 +dotnet build --configuration %Configuration% || exit /b 1 .\tools\Explicit.NuGet.Versions\build\nev.exe ".\build" "castle." GOTO test diff --git a/buildscripts/common.props b/buildscripts/common.props index a86078693d..6c9ba1b5c4 100644 --- a/buildscripts/common.props +++ b/buildscripts/common.props @@ -39,6 +39,10 @@ + + + + DEBUG TRACE;FEATURE_NETCORE_REFLECTION_API;FEATURE_TEST_SERILOGINTEGRATION @@ -48,14 +52,6 @@ $(CommonDesktopClrConstants);FEATURE_TEST_PEVERIFY - - $(DiagnosticsConstants);$(DesktopClrConstants);FEATURE_LEGACY_REFLECTION_API;DOTNET35 - - - - $(DesktopClrConstants);FEATURE_LEGACY_REFLECTION_API;DOTNET35 - - $(DiagnosticsConstants);$(DesktopClrConstants);FEATURE_LEGACY_REFLECTION_API;DOTNET40 diff --git a/buildscripts/docker-run-mono.sh b/buildscripts/docker-run-mono.sh new file mode 100755 index 0000000000..eb4459f8fd --- /dev/null +++ b/buildscripts/docker-run-mono.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -e +MONO_TAG=${MONO_TAG:-6.0.0.334} +docker run --rm -v "$PWD":'/project' -w='/project' mono:$MONO_TAG mono "$@" diff --git a/docs/dynamicproxy-introduction.md b/docs/dynamicproxy-introduction.md index 7612314393..fb036ffc54 100644 --- a/docs/dynamicproxy-introduction.md +++ b/docs/dynamicproxy-introduction.md @@ -9,9 +9,8 @@ DynamicProxy differs from the proxy implementation built into the CLR which requ To use Castle DynamicProxy you need the following environment: * one of the following runtimes installed - * .NET Framework 3.5 SP1+ + * .NET Framework 4.0+ * .NET Core 1.0+ (Castle Core 4.0+) - * Silverlight 4.0+ (Silverlight support removed in Castle Core 4.0) * `Castle.Core.dll` (assembly where DynamicProxy lives) :information_source: **DynamicProxy assembly:** In previous versions (up to v2.2) DynamicProxy used to live in its own assembly `Castle.DynamicProxy.dll`. It was later moved to `Castle.Core.dll` and now no other assembly is required to use it. diff --git a/docs/dynamicproxy-optional-parameter-value-limitations.md b/docs/dynamicproxy-optional-parameter-value-limitations.md index 7e3c5a8198..6491563561 100644 --- a/docs/dynamicproxy-optional-parameter-value-limitations.md +++ b/docs/dynamicproxy-optional-parameter-value-limitations.md @@ -20,10 +20,6 @@ On Mono (up to and including at least version 5.16), DynamicProxy may not be abl The .NET Framework (up to and including at least version 4.7.1) and .NET Core (up to and including at least version 2.1) are affected by several bugs or limitations regarding default parameter values. DynamicProxy may not be able to correctly reproduce default parameter values in the proxy type for... -* **Optional parameters of any nullable type `Nullable`.** On the .NET Framework 3.5 only, reflection will likely report (via `ParameterInfo.[Raw]DefaultValue`) a default value of `Missing.Value` for such parameters. - - There is no easy way to quickly guess what the correct default value might be. Consider upgrading to the .NET Framework 4 or later, or double-check the default value in the original method of the proxied type. - * **Optional parameters of some `struct` type `SomeStruct` having a default value of `default(SomeStruct)`.** If reflection reports (via `ParameterInfo.[Raw]DefaultValue`) a default value of `Missing.Value` for such parameters, you may safely assume that the *correct* default value is `default(SomeStruct)`. Note that if reflection reports a default value of `null` in such cases, this is not an error, but normal `System.Reflection` behavior that is to be expected. In this case, you may also safely assume `default(SomeStruct)` to be the correct default value. diff --git a/ref/Castle.Core-net35.cs b/ref/Castle.Core-net35.cs deleted file mode 100644 index 47b86789be..0000000000 --- a/ref/Castle.Core-net35.cs +++ /dev/null @@ -1,3846 +0,0 @@ -[assembly: System.CLSCompliantAttribute(true)] -[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute(@"Castle.Core.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010077f5e87030dadccce6902c6adab7a987bd69cb5819991531f560785eacfc89b6fcddf6bb2a00743a7194e454c0273447fc6eec36474ba8e5a3823147d214298e4f9a631b1afee1a51ffeae4672d498f14b000e3d321453cdd8ac064de7e1cf4d222b7e81f54d4fd46725370d702a05b48738cc29d09228f1aa722ae1a9ca02fb")] -[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] -namespace Castle.Components.DictionaryAdapter -{ - public abstract class AbstractDictionaryAdapter : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable - { - protected AbstractDictionaryAdapter() { } - public int Count { get; } - public bool IsFixedSize { get; } - public abstract bool IsReadOnly { get; } - public virtual bool IsSynchronized { get; } - public abstract object this[object key] { get; set; } - public System.Collections.ICollection Keys { get; } - public virtual object SyncRoot { get; } - public System.Collections.ICollection Values { get; } - public void Add(object key, object value) { } - public void Clear() { } - public abstract bool Contains(object key); - public void CopyTo(System.Array array, int index) { } - public System.Collections.IDictionaryEnumerator GetEnumerator() { } - public void Remove(object key) { } - } - public abstract class AbstractDictionaryAdapterVisitor : Castle.Components.DictionaryAdapter.IDictionaryAdapterVisitor - { - protected AbstractDictionaryAdapterVisitor() { } - protected AbstractDictionaryAdapterVisitor(Castle.Components.DictionaryAdapter.AbstractDictionaryAdapterVisitor parent) { } - protected bool Cancelled { get; set; } - protected virtual void VisitCollection(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, System.Type collectionItemType, object state) { } - public virtual bool VisitDictionaryAdapter(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, object state) { } - public virtual bool VisitDictionaryAdapter(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, System.Func selector, object state) { } - protected virtual void VisitInterface(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, object state) { } - protected virtual void VisitProperty(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, object state) { } - } - public class BindingListInitializer : Castle.Components.DictionaryAdapter.IValueInitializer - { - public BindingListInitializer(System.Func addAt, System.Func addNew, System.Func setAt, System.Action removeAt, System.Action reset) { } - public void Initialize(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, object value) { } - } - public class BindingList : Castle.Components.DictionaryAdapter.IBindingListSource, Castle.Components.DictionaryAdapter.IBindingList, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.ICancelAddNew, System.ComponentModel.IRaiseItemChangedEvents - { - public BindingList() { } - public BindingList(System.Collections.Generic.IList list) { } - public BindingList(System.ComponentModel.BindingList list) { } - public bool AllowEdit { get; set; } - public bool AllowNew { get; set; } - public bool AllowRemove { get; set; } - public System.ComponentModel.IBindingList AsBindingList { get; } - public int Count { get; } - public System.ComponentModel.BindingList InnerList { get; } - public T this[int index] { get; set; } - public bool RaiseListChangedEvents { get; set; } - public event System.ComponentModel.AddingNewEventHandler AddingNew; - public event System.ComponentModel.ListChangedEventHandler ListChanged; - public void Add(T item) { } - public T AddNew() { } - public void CancelNew(int index) { } - public void Clear() { } - public bool Contains(T item) { } - public void CopyTo(T[] array, int index) { } - public void EndNew(int index) { } - public System.Collections.Generic.IEnumerator GetEnumerator() { } - public int IndexOf(T item) { } - public void Insert(int index, T item) { } - public bool Remove(T item) { } - public void RemoveAt(int index) { } - public void ResetBindings() { } - public void ResetItem(int index) { } - } - public class CascadingDictionaryAdapter : Castle.Components.DictionaryAdapter.AbstractDictionaryAdapter - { - public CascadingDictionaryAdapter(System.Collections.IDictionary primary, System.Collections.IDictionary secondary) { } - public override bool IsReadOnly { get; } - public override object this[object key] { get; set; } - public System.Collections.IDictionary Primary { get; } - public System.Collections.IDictionary Secondary { get; } - public override bool Contains(object key) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=true)] - public class ComponentAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryKeyBuilder, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter - { - public ComponentAttribute() { } - public bool NoPrefix { get; set; } - public string Prefix { get; set; } - public bool SetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, ref object value, Castle.Components.DictionaryAdapter.PropertyDescriptor property) { } - } - public class DefaultPropertyGetter : Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter - { - public DefaultPropertyGetter(System.ComponentModel.TypeConverter converter) { } - public int ExecutionOrder { get; } - public Castle.Components.DictionaryAdapter.IDictionaryBehavior Copy() { } - public object GetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, object storedValue, Castle.Components.DictionaryAdapter.PropertyDescriptor property, bool ifExists) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)] - public class DictionaryAdapterAttribute : System.Attribute - { - public DictionaryAdapterAttribute(System.Type interfaceType) { } - public System.Type InterfaceType { get; } - } - public abstract class DictionaryAdapterBase : Castle.Components.DictionaryAdapter.IDictionaryAdapter, Castle.Components.DictionaryAdapter.IDictionaryCreate, Castle.Components.DictionaryAdapter.IDictionaryEdit, Castle.Components.DictionaryAdapter.IDictionaryNotify, Castle.Components.DictionaryAdapter.IDictionaryValidate, System.ComponentModel.IChangeTracking, System.ComponentModel.IDataErrorInfo, System.ComponentModel.IEditableObject, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.IRevertibleChangeTracking - { - public DictionaryAdapterBase(Castle.Components.DictionaryAdapter.DictionaryAdapterInstance instance) { } - public bool CanEdit { get; set; } - public bool CanNotify { get; set; } - public bool CanValidate { get; set; } - public string Error { get; } - public bool IsChanged { get; } - public bool IsEditing { get; } - public bool IsValid { get; } - public string this[string columnName] { get; } - public abstract Castle.Components.DictionaryAdapter.DictionaryAdapterMeta Meta { get; } - public bool ShouldNotify { get; } - public bool SupportsMultiLevelEdit { get; set; } - public Castle.Components.DictionaryAdapter.DictionaryAdapterInstance This { get; } - public System.Collections.Generic.IEnumerable Validators { get; } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; - public void AcceptChanges() { } - protected void AddEditDependency(System.ComponentModel.IEditableObject editDependency) { } - public void AddValidator(Castle.Components.DictionaryAdapter.IDictionaryValidator validator) { } - public void BeginEdit() { } - public void CancelEdit() { } - protected bool ClearEditProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, string key) { } - public void ClearProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, string key) { } - public T Coerce() - where T : class { } - public object Coerce(System.Type type) { } - public void CopyTo(Castle.Components.DictionaryAdapter.IDictionaryAdapter other) { } - public void CopyTo(Castle.Components.DictionaryAdapter.IDictionaryAdapter other, System.Func selector) { } - public T Create() { } - public object Create(System.Type type) { } - public T Create(System.Collections.IDictionary dictionary) { } - public object Create(System.Type type, System.Collections.IDictionary dictionary) { } - public T Create(System.Action init) { } - public T Create(System.Collections.IDictionary dictionary, System.Action init) { } - protected bool EditProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, string key, object propertyValue) { } - public void EndEdit() { } - public override bool Equals(object obj) { } - protected bool GetEditedProperty(string propertyName, out object propertyValue) { } - public override int GetHashCode() { } - public string GetKey(string propertyName) { } - public virtual object GetProperty(string propertyName, bool ifExists) { } - public T GetPropertyOfType(string propertyName) { } - protected void Initialize() { } - protected void Invalidate() { } - protected void NotifyPropertyChanged(Castle.Components.DictionaryAdapter.PropertyDescriptor property, object oldValue, object newValue) { } - protected void NotifyPropertyChanged(string propertyName) { } - protected bool NotifyPropertyChanging(Castle.Components.DictionaryAdapter.PropertyDescriptor property, object oldValue, object newValue) { } - public object ReadProperty(string key) { } - public void RejectChanges() { } - public void ResumeEditing() { } - public void ResumeNotifications() { } - public virtual bool SetProperty(string propertyName, ref object value) { } - public bool ShouldClearProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, object value) { } - public void StoreProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, string key, object value) { } - public void SuppressEditing() { } - public System.IDisposable SuppressEditingBlock() { } - public void SuppressNotifications() { } - public System.IDisposable SuppressNotificationsBlock() { } - protected Castle.Components.DictionaryAdapter.DictionaryAdapterBase.TrackPropertyChangeScope TrackPropertyChange(Castle.Components.DictionaryAdapter.PropertyDescriptor property, object oldValue, object newValue) { } - protected Castle.Components.DictionaryAdapter.DictionaryAdapterBase.TrackPropertyChangeScope TrackReadonlyPropertyChanges() { } - public Castle.Components.DictionaryAdapter.DictionaryValidateGroup ValidateGroups(params object[] groups) { } - public class TrackPropertyChangeScope : System.IDisposable - { - public TrackPropertyChangeScope(Castle.Components.DictionaryAdapter.DictionaryAdapterBase adapter) { } - public TrackPropertyChangeScope(Castle.Components.DictionaryAdapter.DictionaryAdapterBase adapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, object existingValue) { } - public void Dispose() { } - public bool Notify() { } - } - } - public class static DictionaryAdapterExtensions - { - public static Castle.Components.DictionaryAdapter.IVirtual AsVirtual(this Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter) { } - } - public class DictionaryAdapterFactory : Castle.Components.DictionaryAdapter.IDictionaryAdapterFactory - { - public DictionaryAdapterFactory() { } - public T GetAdapter(System.Collections.IDictionary dictionary) { } - public object GetAdapter(System.Type type, System.Collections.IDictionary dictionary) { } - public object GetAdapter(System.Type type, System.Collections.IDictionary dictionary, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor) { } - public T GetAdapter(System.Collections.Generic.IDictionary dictionary) { } - public object GetAdapter(System.Type type, System.Collections.Generic.IDictionary dictionary) { } - public T GetAdapter(System.Collections.Specialized.NameValueCollection nameValues) { } - public object GetAdapter(System.Type type, System.Collections.Specialized.NameValueCollection nameValues) { } - public T GetAdapter(System.Xml.XmlNode xmlNode) { } - public object GetAdapter(System.Type type, System.Xml.XmlNode xmlNode) { } - public Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type) { } - public Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor) { } - public Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type, Castle.Components.DictionaryAdapter.DictionaryAdapterMeta other) { } - } - public class DictionaryAdapterInstance - { - public DictionaryAdapterInstance(System.Collections.IDictionary dictionary, Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor, Castle.Components.DictionaryAdapter.IDictionaryAdapterFactory factory) { } - public Castle.Components.DictionaryAdapter.IDictionaryCoerceStrategy CoerceStrategy { get; set; } - public System.Collections.Generic.IEnumerable CopyStrategies { get; } - public Castle.Components.DictionaryAdapter.IDictionaryCreateStrategy CreateStrategy { get; set; } - public Castle.Components.DictionaryAdapter.PropertyDescriptor Descriptor { get; } - public System.Collections.IDictionary Dictionary { get; } - public Castle.Components.DictionaryAdapter.IDictionaryEqualityHashCodeStrategy EqualityHashCodeStrategy { get; set; } - public System.Collections.IDictionary ExtendedProperties { get; } - public Castle.Components.DictionaryAdapter.IDictionaryAdapterFactory Factory { get; } - public Castle.Components.DictionaryAdapter.IDictionaryInitializer[] Initializers { get; } - public System.Collections.Generic.IDictionary Properties { get; } - public void AddCopyStrategy(Castle.Components.DictionaryAdapter.IDictionaryCopyStrategy copyStrategy) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("Type: {Type.FullName,nq}")] - public class DictionaryAdapterMeta - { - public DictionaryAdapterMeta(System.Type type, System.Type implementation, object[] behaviors, Castle.Components.DictionaryAdapter.IDictionaryMetaInitializer[] metaInitializers, Castle.Components.DictionaryAdapter.IDictionaryInitializer[] initializers, System.Collections.Generic.IDictionary properties, Castle.Components.DictionaryAdapter.IDictionaryAdapterFactory factory, System.Func creator) { } - public object[] Behaviors { get; } - public System.Collections.IDictionary ExtendedProperties { get; } - public Castle.Components.DictionaryAdapter.IDictionaryAdapterFactory Factory { get; } - public System.Type Implementation { get; } - public Castle.Components.DictionaryAdapter.IDictionaryInitializer[] Initializers { get; } - public Castle.Components.DictionaryAdapter.IDictionaryMetaInitializer[] MetaInitializers { get; } - public System.Collections.Generic.IDictionary Properties { get; } - public System.Type Type { get; } - public Castle.Components.DictionaryAdapter.PropertyDescriptor CreateDescriptor() { } - public object CreateInstance(System.Collections.IDictionary dictionary, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor) { } - public Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type) { } - } - public abstract class DictionaryBehaviorAttribute : System.Attribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - public const int DefaultExecutionOrder = 1073741823; - public const int FirstExecutionOrder = 0; - public const int LastExecutionOrder = 2147483647; - public DictionaryBehaviorAttribute() { } - public int ExecutionOrder { get; set; } - public virtual Castle.Components.DictionaryAdapter.IDictionaryBehavior Copy() { } - } - public class DictionaryValidateGroup : Castle.Components.DictionaryAdapter.IDictionaryValidate, System.ComponentModel.IDataErrorInfo, System.ComponentModel.INotifyPropertyChanged, System.IDisposable - { - public DictionaryValidateGroup(object[] groups, Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter) { } - public bool CanValidate { get; set; } - public string Error { get; } - public bool IsValid { get; } - public string this[string columnName] { get; } - public System.Collections.Generic.IEnumerable Validators { get; } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - public void AddValidator(Castle.Components.DictionaryAdapter.IDictionaryValidator validator) { } - public void Dispose() { } - public Castle.Components.DictionaryAdapter.DictionaryValidateGroup ValidateGroups(params object[] groups) { } - } - public class DynamicValueDelegate : Castle.Components.DictionaryAdapter.DynamicValue - { - public DynamicValueDelegate(System.Func dynamicDelegate) { } - public override T Value { get; } - } - public abstract class DynamicValue : Castle.Components.DictionaryAdapter.IDynamicValue, Castle.Components.DictionaryAdapter.IDynamicValue - { - protected DynamicValue() { } - public abstract T Value { get; } - public override string ToString() { } - } - public class EditableBindingList : System.ComponentModel.BindingList, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable, System.ComponentModel.IChangeTracking, System.ComponentModel.IEditableObject, System.ComponentModel.IRevertibleChangeTracking - { - public EditableBindingList() { } - public EditableBindingList(System.Collections.Generic.IList initial) { } - public bool IsChanged { get; } - public void AcceptChanges() { } - public void BeginEdit() { } - public void CancelEdit() { } - public void EndEdit() { } - public void RejectChanges() { } - } - public class EditableList : Castle.Components.DictionaryAdapter.EditableList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public EditableList() { } - public EditableList(System.Collections.Generic.IEnumerable collection) { } - } - public class EditableList : System.Collections.Generic.List, System.ComponentModel.IChangeTracking, System.ComponentModel.IEditableObject, System.ComponentModel.IRevertibleChangeTracking - { - public EditableList() { } - public EditableList(System.Collections.Generic.IEnumerable collection) { } - public bool IsChanged { get; } - public void AcceptChanges() { } - public void BeginEdit() { } - public void CancelEdit() { } - public void EndEdit() { } - public void RejectChanges() { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false)] - public class FetchAttribute : System.Attribute - { - public FetchAttribute() { } - public FetchAttribute(bool fetch) { } - public bool Fetch { get; } - } - public class static GenericDictionaryAdapter - { - public static Castle.Components.DictionaryAdapter.GenericDictionaryAdapter ForDictionaryAdapter(this System.Collections.Generic.IDictionary dictionary) { } - } - public class GenericDictionaryAdapter : Castle.Components.DictionaryAdapter.AbstractDictionaryAdapter - { - public GenericDictionaryAdapter(System.Collections.Generic.IDictionary dictionary) { } - public override bool IsReadOnly { get; } - public override object this[object key] { get; set; } - public override bool Contains(object key) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=true)] - public class GroupAttribute : System.Attribute - { - public GroupAttribute(object group) { } - public GroupAttribute(params object[] group) { } - public object[] Group { get; } - } - public interface IBindingListSource - { - System.ComponentModel.IBindingList AsBindingList { get; } - } - public interface IBindingList : Castle.Components.DictionaryAdapter.IBindingListSource, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable, System.ComponentModel.ICancelAddNew, System.ComponentModel.IRaiseItemChangedEvents - { - bool AllowEdit { get; } - bool AllowNew { get; } - bool AllowRemove { get; } - bool IsSorted { get; } - System.ComponentModel.ListSortDirection SortDirection { get; } - System.ComponentModel.PropertyDescriptor SortProperty { get; } - bool SupportsChangeNotification { get; } - bool SupportsSearching { get; } - bool SupportsSorting { get; } - public event System.ComponentModel.ListChangedEventHandler ListChanged; - void AddIndex(System.ComponentModel.PropertyDescriptor property); - T AddNew(); - void ApplySort(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction); - int Find(System.ComponentModel.PropertyDescriptor property, object key); - void RemoveIndex(System.ComponentModel.PropertyDescriptor property); - void RemoveSort(); - } - public interface ICollectionAdapterObserver - { - void OnInserted(T newValue, int index); - bool OnInserting(T newValue); - void OnRemoved(T oldValue, int index); - void OnRemoving(T oldValue); - void OnReplaced(T oldValue, T newValue, int index); - bool OnReplacing(T oldValue, T newValue); - } - public interface ICollectionAdapter - { - System.Collections.Generic.IEqualityComparer Comparer { get; } - int Count { get; } - bool HasSnapshot { get; } - T this[int index] { get; set; } - int SnapshotCount { get; } - bool Add(T value); - T AddNew(); - void Clear(); - void ClearReferences(); - void DropSnapshot(); - T GetCurrentItem(int index); - T GetSnapshotItem(int index); - void Initialize(Castle.Components.DictionaryAdapter.ICollectionAdapterObserver advisor); - bool Insert(int index, T value); - void LoadSnapshot(); - void Remove(int index); - void SaveSnapshot(); - } - public interface ICollectionProjection : System.Collections.ICollection, System.Collections.IEnumerable - { - void Clear(); - void ClearReferences(); - void Replace(System.Collections.IEnumerable source); - } - public interface ICondition - { - bool SatisfiedBy(object value); - } - public interface IDictionaryAdapter : Castle.Components.DictionaryAdapter.IDictionaryCreate, Castle.Components.DictionaryAdapter.IDictionaryEdit, Castle.Components.DictionaryAdapter.IDictionaryNotify, Castle.Components.DictionaryAdapter.IDictionaryValidate, System.ComponentModel.IChangeTracking, System.ComponentModel.IDataErrorInfo, System.ComponentModel.IEditableObject, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.IRevertibleChangeTracking - { - Castle.Components.DictionaryAdapter.DictionaryAdapterMeta Meta { get; } - Castle.Components.DictionaryAdapter.DictionaryAdapterInstance This { get; } - void ClearProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, string key); - T Coerce() - where T : class; - object Coerce(System.Type type); - void CopyTo(Castle.Components.DictionaryAdapter.IDictionaryAdapter other); - void CopyTo(Castle.Components.DictionaryAdapter.IDictionaryAdapter other, System.Func selector); - string GetKey(string propertyName); - object GetProperty(string propertyName, bool ifExists); - T GetPropertyOfType(string propertyName); - object ReadProperty(string key); - bool SetProperty(string propertyName, ref object value); - bool ShouldClearProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, object value); - void StoreProperty(Castle.Components.DictionaryAdapter.PropertyDescriptor property, string key, object value); - } - public interface IDictionaryAdapterFactory - { - T GetAdapter(System.Collections.IDictionary dictionary); - object GetAdapter(System.Type type, System.Collections.IDictionary dictionary); - object GetAdapter(System.Type type, System.Collections.IDictionary dictionary, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor); - T GetAdapter(System.Collections.Specialized.NameValueCollection nameValues); - object GetAdapter(System.Type type, System.Collections.Specialized.NameValueCollection nameValues); - T GetAdapter(System.Xml.XmlNode xmlNode); - object GetAdapter(System.Type type, System.Xml.XmlNode xmlNode); - Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type); - Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor); - Castle.Components.DictionaryAdapter.DictionaryAdapterMeta GetAdapterMeta(System.Type type, Castle.Components.DictionaryAdapter.DictionaryAdapterMeta other); - } - public interface IDictionaryAdapterVisitor - { - void VisitCollection(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, System.Type collectionItemType, object state); - bool VisitDictionaryAdapter(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, object state); - bool VisitDictionaryAdapter(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, System.Func selector, object state); - void VisitInterface(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, object state); - void VisitProperty(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property, object state); - } - public interface IDictionaryBehavior - { - int ExecutionOrder { get; } - Castle.Components.DictionaryAdapter.IDictionaryBehavior Copy(); - } - public interface IDictionaryBehaviorBuilder - { - object[] BuildBehaviors(); - } - public interface IDictionaryCoerceStrategy - { - object Coerce(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter, System.Type type); - } - public interface IDictionaryCopyStrategy - { - bool Copy(Castle.Components.DictionaryAdapter.IDictionaryAdapter source, Castle.Components.DictionaryAdapter.IDictionaryAdapter target, ref System.Func selector); - } - public interface IDictionaryCreate - { - T Create(); - object Create(System.Type type); - T Create(System.Collections.IDictionary dictionary); - object Create(System.Type type, System.Collections.IDictionary dictionary); - T Create(System.Action init); - T Create(System.Collections.IDictionary dictionary, System.Action init); - } - public interface IDictionaryCreateStrategy - { - object Create(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter, System.Type type, System.Collections.IDictionary dictionary); - } - public interface IDictionaryEdit : System.ComponentModel.IChangeTracking, System.ComponentModel.IEditableObject, System.ComponentModel.IRevertibleChangeTracking - { - bool CanEdit { get; } - bool IsEditing { get; } - bool SupportsMultiLevelEdit { get; set; } - void ResumeEditing(); - void SuppressEditing(); - System.IDisposable SuppressEditingBlock(); - } - public interface IDictionaryEqualityHashCodeStrategy - { - bool Equals(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter1, Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter2); - bool GetHashCode(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter, out int hashCode); - } - public interface IDictionaryInitializer : Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - void Initialize(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, object[] behaviors); - } - public interface IDictionaryKeyBuilder : Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - string GetKey(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, Castle.Components.DictionaryAdapter.PropertyDescriptor property); - } - public interface IDictionaryMetaInitializer : Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - void Initialize(Castle.Components.DictionaryAdapter.IDictionaryAdapterFactory factory, Castle.Components.DictionaryAdapter.DictionaryAdapterMeta dictionaryMeta); - bool ShouldHaveBehavior(object behavior); - } - public interface IDictionaryNotify : System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging - { - bool CanNotify { get; } - bool ShouldNotify { get; } - void ResumeNotifications(); - void SuppressNotifications(); - System.IDisposable SuppressNotificationsBlock(); - } - public interface IDictionaryPropertyGetter : Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - object GetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, object storedValue, Castle.Components.DictionaryAdapter.PropertyDescriptor property, bool ifExists); - } - public interface IDictionaryPropertySetter : Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - bool SetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, ref object value, Castle.Components.DictionaryAdapter.PropertyDescriptor property); - } - public interface IDictionaryReferenceManager - { - void AddReference(object keyObject, object relatedObject, bool isInGraph); - bool IsReferenceProperty(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string propertyName); - bool TryGetReference(object keyObject, out object inGraphObject); - } - public interface IDictionaryValidate : System.ComponentModel.IDataErrorInfo - { - bool CanValidate { get; set; } - bool IsValid { get; } - System.Collections.Generic.IEnumerable Validators { get; } - void AddValidator(Castle.Components.DictionaryAdapter.IDictionaryValidator validator); - Castle.Components.DictionaryAdapter.DictionaryValidateGroup ValidateGroups(params object[] groups); - } - public interface IDictionaryValidator - { - void Invalidate(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter); - bool IsValid(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter); - string Validate(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter); - string Validate(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, Castle.Components.DictionaryAdapter.PropertyDescriptor property); - } - public interface IDynamicValue - { - object GetValue(); - } - public interface IDynamicValue : Castle.Components.DictionaryAdapter.IDynamicValue - { - T Value { get; } - } - public interface IPropertyDescriptorInitializer : Castle.Components.DictionaryAdapter.IDictionaryBehavior - { - void Initialize(Castle.Components.DictionaryAdapter.PropertyDescriptor propertyDescriptor, object[] behaviors); - } - public interface IValueInitializer - { - void Initialize(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, object value); - } - public interface IVirtual - { - bool IsReal { get; } - public event System.EventHandler Realized; - void Realize(); - } - public interface IVirtualSite - { - void OnRealizing(T node); - } - public interface IVirtualTarget - { - void OnRealizing(TNode node, TMember member); - } - public interface IVirtual : Castle.Components.DictionaryAdapter.IVirtual - { - void AddSite(Castle.Components.DictionaryAdapter.IVirtualSite site); - T Realize(); - void RemoveSite(Castle.Components.DictionaryAdapter.IVirtualSite site); - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false)] - public class IfExistsAttribute : System.Attribute - { - public IfExistsAttribute() { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=true)] - public class KeyAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryKeyBuilder - { - public KeyAttribute(string key) { } - public KeyAttribute(string[] keys) { } - public string Key { get; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)] - public class KeyPrefixAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryKeyBuilder - { - public KeyPrefixAttribute() { } - public KeyPrefixAttribute(string keyPrefix) { } - public string KeyPrefix { get; set; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true, Inherited=true)] - public class KeySubstitutionAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryKeyBuilder - { - public KeySubstitutionAttribute(string oldValue, string newValue) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("Count = {Count}, Adapter = {Adapter}")] - [System.Diagnostics.DebuggerTypeProxyAttribute(typeof(Castle.Components.DictionaryAdapter.ListProjectionDebugView))] - public class ListProjection : Castle.Components.DictionaryAdapter.IBindingListSource, Castle.Components.DictionaryAdapter.IBindingList, Castle.Components.DictionaryAdapter.ICollectionAdapterObserver, Castle.Components.DictionaryAdapter.ICollectionProjection, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ICancelAddNew, System.ComponentModel.IChangeTracking, System.ComponentModel.IEditableObject, System.ComponentModel.IRaiseItemChangedEvents, System.ComponentModel.IRevertibleChangeTracking - { - public ListProjection(Castle.Components.DictionaryAdapter.ICollectionAdapter adapter) { } - public Castle.Components.DictionaryAdapter.ICollectionAdapter Adapter { get; } - public System.ComponentModel.IBindingList AsBindingList { get; } - public System.Collections.Generic.IEqualityComparer Comparer { get; } - public int Count { get; } - public bool EventsEnabled { get; } - public bool IsChanged { get; } - public T this[int index] { get; set; } - public event System.ComponentModel.ListChangedEventHandler ListChanged; - public void AcceptChanges() { } - public virtual bool Add(T item) { } - public virtual T AddNew() { } - public void BeginEdit() { } - public void CancelEdit() { } - public virtual void CancelNew(int index) { } - public virtual void Clear() { } - public virtual bool Contains(T item) { } - public void CopyTo(T[] array, int index) { } - public void EndEdit() { } - public virtual void EndNew(int index) { } - public System.Collections.Generic.IEnumerator GetEnumerator() { } - public int IndexOf(T item) { } - public void Insert(int index, T item) { } - public bool IsNew(int index) { } - protected void NotifyListChanged(System.ComponentModel.ListChangedType type, int index) { } - protected void NotifyListReset() { } - protected virtual void OnInserted(T newValue, int index) { } - protected virtual bool OnInserting(T value) { } - protected virtual void OnListChanged(System.ComponentModel.ListChangedEventArgs args) { } - protected virtual void OnRemoved(T oldValue, int index) { } - protected virtual void OnRemoving(T oldValue) { } - protected virtual void OnReplaced(T oldValue, T newValue, int index) { } - protected virtual bool OnReplacing(T oldValue, T newValue) { } - public void RejectChanges() { } - public virtual bool Remove(T item) { } - public virtual void RemoveAt(int index) { } - public void Replace(System.Collections.Generic.IEnumerable items) { } - public bool ResumeEvents() { } - public void SuspendEvents() { } - } - public class MemberwiseEqualityHashCodeStrategy : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryEqualityHashCodeStrategy, Castle.Components.DictionaryAdapter.IDictionaryInitializer, System.Collections.Generic.IEqualityComparer - { - public MemberwiseEqualityHashCodeStrategy() { } - public bool Equals(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter1, Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter2) { } - public int GetHashCode(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter) { } - public bool GetHashCode(Castle.Components.DictionaryAdapter.IDictionaryAdapter adapter, out int hashCode) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false)] - public class MultiLevelEditAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryInitializer - { - public MultiLevelEditAttribute() { } - public void Initialize(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, object[] behaviors) { } - } - public class NameValueCollectionAdapter : Castle.Components.DictionaryAdapter.AbstractDictionaryAdapter - { - public NameValueCollectionAdapter(System.Collections.Specialized.NameValueCollection nameValues) { } - public override bool IsReadOnly { get; } - public override object this[object key] { get; set; } - public static Castle.Components.DictionaryAdapter.NameValueCollectionAdapter Adapt(System.Collections.Specialized.NameValueCollection nameValues) { } - public override bool Contains(object key) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false)] - public class NewGuidAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter - { - public NewGuidAttribute() { } - public object GetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, object storedValue, Castle.Components.DictionaryAdapter.PropertyDescriptor property, bool ifExists) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false)] - public class OnDemandAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter - { - public OnDemandAttribute() { } - public OnDemandAttribute(System.Type type) { } - public OnDemandAttribute(object value) { } - public System.Type Type { get; } - public object Value { get; } - public object GetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, object storedValue, Castle.Components.DictionaryAdapter.PropertyDescriptor property, bool ifExists) { } - } - public class PropertyChangedEventArgsEx : System.ComponentModel.PropertyChangedEventArgs - { - public PropertyChangedEventArgsEx(string propertyName, object oldValue, object newValue) { } - public object NewValue { get; } - public object OldValue { get; } - } - public class PropertyChangingEventArgsEx : System.ComponentModel.PropertyChangingEventArgs - { - public PropertyChangingEventArgsEx(string propertyName, object oldValue, object newValue) { } - public bool Cancel { get; set; } - public object NewValue { get; } - public object OldValue { get; } - } - [System.Diagnostics.DebuggerDisplayAttribute("{Property.DeclaringType.FullName,nq}.{PropertyName,nq}")] - public class PropertyDescriptor : Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryKeyBuilder, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter - { - protected System.Collections.Generic.List dictionaryBehaviors; - public PropertyDescriptor() { } - public PropertyDescriptor(System.Reflection.PropertyInfo property, object[] annotations) { } - public PropertyDescriptor(object[] annotations) { } - public PropertyDescriptor(Castle.Components.DictionaryAdapter.PropertyDescriptor source, bool copyBehaviors) { } - public object[] Annotations { get; } - public System.Collections.Generic.IEnumerable Behaviors { get; } - public int ExecutionOrder { get; } - public System.Collections.IDictionary ExtendedProperties { get; } - public bool Fetch { get; set; } - public System.Collections.Generic.IEnumerable Getters { get; } - public bool IfExists { get; set; } - public System.Collections.Generic.IEnumerable Initializers { get; } - public bool IsDynamicProperty { get; } - public System.Collections.Generic.IEnumerable KeyBuilders { get; } - public System.Collections.Generic.IEnumerable MetaInitializers { get; } - public System.Reflection.PropertyInfo Property { get; } - public string PropertyName { get; } - public System.Type PropertyType { get; } - public System.Collections.Generic.IEnumerable Setters { get; } - public System.Collections.IDictionary State { get; } - public bool SuppressNotifications { get; set; } - public System.ComponentModel.TypeConverter TypeConverter { get; } - public Castle.Components.DictionaryAdapter.PropertyDescriptor AddBehavior(Castle.Components.DictionaryAdapter.IDictionaryBehavior behavior) { } - public Castle.Components.DictionaryAdapter.PropertyDescriptor AddBehaviors(params Castle.Components.DictionaryAdapter.IDictionaryBehavior[] behaviors) { } - public Castle.Components.DictionaryAdapter.PropertyDescriptor AddBehaviors(System.Collections.Generic.IEnumerable behaviors) { } - public Castle.Components.DictionaryAdapter.IDictionaryBehavior Copy() { } - public Castle.Components.DictionaryAdapter.PropertyDescriptor CopyBehaviors(Castle.Components.DictionaryAdapter.PropertyDescriptor other) { } - public string GetKey(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor) { } - public object GetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, object storedValue, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor, bool ifExists) { } - public static void MergeBehavior(ref System.Collections.Generic.List dictionaryBehaviors, T behavior) - where T : class, Castle.Components.DictionaryAdapter.IDictionaryBehavior { } - public bool SetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, ref object value, Castle.Components.DictionaryAdapter.PropertyDescriptor descriptor) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All)] - public class ReferenceAttribute : System.Attribute - { - public ReferenceAttribute() { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true)] - public class RemoveIfAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter - { - public RemoveIfAttribute() { } - public RemoveIfAttribute(params object[] values) { } - public RemoveIfAttribute(object[] values, System.Type comparerType) { } - protected RemoveIfAttribute(Castle.Components.DictionaryAdapter.ICondition condition) { } - public System.Type Condition { set; } - } - public class RemoveIfEmptyAttribute : Castle.Components.DictionaryAdapter.RemoveIfAttribute - { - public RemoveIfEmptyAttribute() { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)] - public class StringFormatAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter - { - public StringFormatAttribute(string format, string properties) { } - public string Format { get; } - public string Properties { get; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=true)] - public class StringListAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter - { - public StringListAttribute() { } - public char Separator { get; set; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false)] - public class StringStorageAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter - { - public StringStorageAttribute() { } - public bool SetPropertyValue(Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter, string key, ref object value, Castle.Components.DictionaryAdapter.PropertyDescriptor property) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false, Inherited=true)] - public class StringValuesAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter - { - public StringValuesAttribute() { } - public string Format { get; set; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false)] - public class SuppressNotificationsAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IPropertyDescriptorInitializer - { - public SuppressNotificationsAttribute() { } - public void Initialize(Castle.Components.DictionaryAdapter.PropertyDescriptor propertyDescriptor, object[] behaviors) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false, Inherited=true)] - public class TypeKeyPrefixAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryKeyBuilder - { - public TypeKeyPrefixAttribute() { } - } - public abstract class VirtualObject : Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.IVirtual - { - protected VirtualObject() { } - protected VirtualObject(Castle.Components.DictionaryAdapter.IVirtualSite site) { } - public abstract bool IsReal { get; } - public event System.EventHandler Realized; - protected void AddSite(Castle.Components.DictionaryAdapter.IVirtualSite site) { } - protected virtual void OnRealized() { } - public TNode Realize() { } - protected void RemoveSite(Castle.Components.DictionaryAdapter.IVirtualSite site) { } - protected abstract bool TryRealize(out TNode node); - } - public sealed class VirtualSite : Castle.Components.DictionaryAdapter.IVirtualSite, System.IEquatable> - { - public VirtualSite(Castle.Components.DictionaryAdapter.IVirtualTarget target, TMember member) { } - public TMember Member { get; } - public Castle.Components.DictionaryAdapter.IVirtualTarget Target { get; } - public override bool Equals(object obj) { } - public bool Equals(Castle.Components.DictionaryAdapter.VirtualSite other) { } - public override int GetHashCode() { } - public void OnRealizing(TNode node) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=false)] - public class VolatileAttribute : System.Attribute - { - public VolatileAttribute() { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Interface | System.AttributeTargets.All)] - public class XmlDefaultsAttribute : System.Attribute - { - public XmlDefaultsAttribute() { } - public bool IsNullable { get; set; } - public bool Qualified { get; set; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true)] - public class XmlNamespaceAttribute : System.Attribute - { - public XmlNamespaceAttribute(string namespaceUri, string prefix) { } - public bool Default { get; set; } - public string NamespaceUri { get; } - public string Prefix { get; } - public bool Root { get; set; } - } -} -namespace Castle.Components.DictionaryAdapter.Xml -{ - public class CompiledXPath - { - public int Depth { get; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPathStep FirstStep { get; } - public bool IsCreatable { get; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPathStep LastStep { get; } - public System.Xml.XPath.XPathExpression Path { get; } - public void SetContext(System.Xml.Xsl.XsltContext context) { } - } - public class CompiledXPathNode - { - public System.Collections.Generic.IList Dependencies { get; } - public bool IsAttribute { get; } - public bool IsSelfReference { get; } - public bool IsSimple { get; } - public string LocalName { get; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPathNode NextNode { get; } - public string Prefix { get; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPathNode PreviousNode { get; } - public System.Xml.XPath.XPathExpression Value { get; } - } - public class CompiledXPathStep : Castle.Components.DictionaryAdapter.Xml.CompiledXPathNode - { - public Castle.Components.DictionaryAdapter.Xml.CompiledXPathStep NextStep { get; } - public System.Xml.XPath.XPathExpression Path { get; } - } - [System.FlagsAttribute()] - public enum CursorFlags - { - None = 0, - Elements = 1, - Attributes = 2, - Multiple = 4, - Mutable = 8, - AllNodes = 3, - } - public class static CursorFlagsExtensions - { - public static bool AllowsMultipleItems(this Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public static bool IncludesAttributes(this Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public static bool IncludesElements(this Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public static Castle.Components.DictionaryAdapter.Xml.CursorFlags MutableIf(this Castle.Components.DictionaryAdapter.Xml.CursorFlags flags, bool mutable) { } - public static bool SupportsMutation(this Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - } - public sealed class DefaultXmlReferenceFormat : Castle.Components.DictionaryAdapter.Xml.IXmlReferenceFormat - { - public static readonly Castle.Components.DictionaryAdapter.Xml.DefaultXmlReferenceFormat Instance; - public void ClearIdentity(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public void ClearReference(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public void SetIdentity(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, int id) { } - public void SetReference(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, int id) { } - public bool TryGetIdentity(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, out int id) { } - public bool TryGetReference(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, out int id) { } - } - public class static DictionaryAdapterExtensions - { - public static object CreateChildAdapter(this Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, System.Type type, Castle.Components.DictionaryAdapter.Xml.XmlAdapter adapter) { } - public static object CreateChildAdapter(this Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, System.Type type, Castle.Components.DictionaryAdapter.Xml.XmlAdapter adapter, System.Collections.IDictionary dictionary) { } - public static Castle.Components.DictionaryAdapter.Xml.XmlAccessor GetAccessor(this Castle.Components.DictionaryAdapter.PropertyDescriptor property) { } - public static Castle.Components.DictionaryAdapter.Xml.XmlMetadata GetXmlMeta(this Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta) { } - public static string GetXmlType(this Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta) { } - public static bool HasAccessor(this Castle.Components.DictionaryAdapter.PropertyDescriptor property) { } - public static bool HasXmlMeta(this Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta) { } - public static bool HasXmlType(this Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta) { } - public static void SetAccessor(this Castle.Components.DictionaryAdapter.PropertyDescriptor property, Castle.Components.DictionaryAdapter.Xml.XmlAccessor accessor) { } - public static void SetXmlMeta(this Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta, Castle.Components.DictionaryAdapter.Xml.XmlMetadata xmlMeta) { } - public static void SetXmlType(this Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta, string value) { } - } - public interface IConfigurable - { - void Configure(T value); - } - public interface IRealizableSource - { - Castle.Components.DictionaryAdapter.Xml.IRealizable AsRealizable(); - } - public interface IRealizable : Castle.Components.DictionaryAdapter.Xml.IRealizableSource - { - bool IsReal { get; } - T Value { get; } - } - public interface IXmlAccessor - { - System.Type ClrType { get; } - Castle.Components.DictionaryAdapter.Xml.IXmlContext Context { get; } - bool IsNillable { get; } - bool IsReference { get; } - Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer Serializer { get; } - Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType); - object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool nodeExists, bool orStub); - void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlCursor cursor, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool hasCurrent, object oldValue, ref object newValue); - } - public interface IXmlBehaviorSemantics - { - System.Type GetClrType(T behavior); - string GetLocalName(T behavior); - string GetNamespaceUri(T behavior); - } - public interface IXmlCollectionAccessor : Castle.Components.DictionaryAdapter.Xml.IXmlAccessor - { - void GetCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, System.Collections.IList values); - Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, bool mutable); - } - public interface IXmlContext : Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource - { - string ChildNamespaceUri { get; } - void AddFunction(Castle.Components.DictionaryAdapter.Xml.XPathFunctionAttribute attribute); - void AddVariable(Castle.Components.DictionaryAdapter.Xml.XPathVariableAttribute attribute); - Castle.Components.DictionaryAdapter.Xml.IXmlContext Clone(); - void Enlist(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path); - Castle.Components.DictionaryAdapter.Xml.XmlName GetDefaultXsiType(System.Type clrType); - System.Collections.Generic.IEnumerable GetIncludedTypes(System.Type baseType); - bool IsReservedNamespaceUri(string namespaceUri); - } - public interface IXmlCursor : Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlIterator, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - void Coerce(System.Type type); - void Create(System.Type type); - void MoveTo(Castle.Components.DictionaryAdapter.Xml.IXmlNode node); - void MoveToEnd(); - void Remove(); - void RemoveAllNext(); - void Reset(); - } - public interface IXmlIdentity - { - Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - } - public interface IXmlIncludedType - { - System.Type ClrType { get; } - Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - } - public interface IXmlIncludedTypeMap - { - Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType Default { get; } - bool TryGet(Castle.Components.DictionaryAdapter.Xml.XmlName xsiType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType); - bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType); - } - public interface IXmlIterator : Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - bool MoveNext(); - } - public interface IXmlKnownType : Castle.Components.DictionaryAdapter.Xml.IXmlIdentity - { - System.Type ClrType { get; } - } - public interface IXmlKnownTypeMap - { - Castle.Components.DictionaryAdapter.Xml.IXmlKnownType Default { get; } - bool TryGet(Castle.Components.DictionaryAdapter.Xml.IXmlIdentity xmlNode, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType); - bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType); - } - public interface IXmlNamespaceSource - { - string GetAttributePrefix(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, string namespaceUri); - string GetElementPrefix(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, string namespaceUri); - } - public interface IXmlNode : Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType - { - bool IsAttribute { get; } - bool IsElement { get; } - bool IsNil { get; set; } - Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource Namespaces { get; } - Castle.Components.DictionaryAdapter.Xml.IXmlNode Parent { get; } - Castle.Components.DictionaryAdapter.Xml.CompiledXPath Path { get; } - object UnderlyingObject { get; } - string Value { get; set; } - string Xml { get; } - void Clear(); - void DefineNamespace(string prefix, string namespaceUri, bool root); - object Evaluate(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path); - string GetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name); - string LookupNamespaceUri(string prefix); - string LookupPrefix(string namespaceUri); - System.Xml.XmlReader ReadSubtree(); - Castle.Components.DictionaryAdapter.Xml.IXmlNode Save(); - Castle.Components.DictionaryAdapter.Xml.IXmlCursor Select(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap includedTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags); - Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectChildren(Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap knownTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags); - Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectSelf(System.Type clrType); - Castle.Components.DictionaryAdapter.Xml.IXmlIterator SelectSubtree(); - void SetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name, string value); - bool UnderlyingPositionEquals(Castle.Components.DictionaryAdapter.Xml.IXmlNode node); - System.Xml.XmlWriter WriteAttributes(); - System.Xml.XmlWriter WriteChildren(); - } - public interface IXmlNodeSource - { - Castle.Components.DictionaryAdapter.Xml.IXmlNode Node { get; } - } - public interface IXmlPropertyAccessor : Castle.Components.DictionaryAdapter.Xml.IXmlAccessor - { - object GetPropertyValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool orStub); - void SetPropertyValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, object oldValue, ref object newValue); - } - public interface IXmlReferenceFormat - { - void ClearIdentity(Castle.Components.DictionaryAdapter.Xml.IXmlNode node); - void ClearReference(Castle.Components.DictionaryAdapter.Xml.IXmlNode node); - void SetIdentity(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, int id); - void SetReference(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, int id); - bool TryGetIdentity(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, out int id); - bool TryGetReference(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, out int id); - } - public class static RealizableExtensions - { - public static Castle.Components.DictionaryAdapter.Xml.IRealizable RequireRealizable(this Castle.Components.DictionaryAdapter.Xml.IRealizableSource obj) { } - } - public class SingletonDispenser - where TItem : class - { - public SingletonDispenser(System.Func factory) { } - public TItem this[TKey key] { get; set; } - } - public class SysXmlCursor : Castle.Components.DictionaryAdapter.Xml.SysXmlNode, Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlCursor, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlIterator, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - protected static readonly System.StringComparer DefaultComparer; - public SysXmlCursor(Castle.Components.DictionaryAdapter.Xml.IXmlNode parent, Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap knownTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public override System.Type ClrType { get; } - public bool HasCurrent { get; } - public override bool IsAttribute { get; } - public override bool IsElement { get; } - public override bool IsNil { get; set; } - public override bool IsReal { get; } - public override Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public override string Value { get; set; } - public override string Xml { get; } - public override Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - public event System.EventHandler Realized; - protected virtual bool AdvanceToFirstAttribute() { } - protected virtual bool AdvanceToFirstElement() { } - public void Coerce(System.Type clrType) { } - public void Create(System.Type type) { } - public override object Evaluate(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path) { } - public void MakeNext(System.Type clrType) { } - public bool MoveNext() { } - public void MoveTo(Castle.Components.DictionaryAdapter.Xml.IXmlNode position) { } - public void MoveToEnd() { } - protected virtual void OnRealized() { } - protected override void Realize() { } - public void Remove() { } - public void RemoveAllNext() { } - public void Reset() { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlNode Save() { } - protected enum State - { - Empty = -4, - End = -3, - AttributePrimed = -2, - ElementPrimed = -1, - Initial = 0, - Element = 1, - Attribute = 2, - } - } - public class static SysXmlExtensions - { - public static void DefineNamespace(this System.Xml.XmlElement node, string prefix, string namespaceUri) { } - public static System.Xml.XmlElement FindRoot(this System.Xml.XmlElement node) { } - public static bool IsNamespace(this System.Xml.XmlAttribute attribute) { } - public static bool IsXsiType(this System.Xml.XmlAttribute attribute) { } - } - public class SysXmlNode : Castle.Components.DictionaryAdapter.Xml.XmlNodeBase, Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IRealizable, Castle.Components.DictionaryAdapter.Xml.IRealizable, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - protected System.Xml.XmlNode node; - protected SysXmlNode(Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.IXmlNode parent) { } - public SysXmlNode(System.Xml.XmlNode node, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces) { } - public virtual bool IsAttribute { get; } - public virtual bool IsElement { get; } - public virtual bool IsNil { get; set; } - public virtual Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public object UnderlyingObject { get; } - public virtual string Value { get; set; } - public virtual string Xml { get; } - public virtual Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - public void Clear() { } - public void DefineNamespace(string prefix, string namespaceUri, bool root) { } - public virtual object Evaluate(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path) { } - public string GetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name) { } - public System.Xml.XmlNode GetNode() { } - public string LookupNamespaceUri(string prefix) { } - public string LookupPrefix(string namespaceUri) { } - public System.Xml.XmlReader ReadSubtree() { } - public virtual Castle.Components.DictionaryAdapter.Xml.IXmlNode Save() { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor Select(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap includedTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectChildren(Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap knownTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectSelf(System.Type clrType) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlIterator SelectSubtree() { } - public void SetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name, string value) { } - public bool UnderlyingPositionEquals(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public System.Xml.XmlWriter WriteAttributes() { } - public System.Xml.XmlWriter WriteChildren() { } - } - public class SysXmlSubtreeIterator : Castle.Components.DictionaryAdapter.Xml.SysXmlNode, Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlIterator, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - public SysXmlSubtreeIterator(Castle.Components.DictionaryAdapter.Xml.IXmlNode parent, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces) { } - public bool MoveNext() { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlNode Save() { } - } - public class static Try - { - [System.Diagnostics.DebuggerHiddenAttribute()] - public static bool Failure(out T result) { } - [System.Diagnostics.DebuggerHiddenAttribute()] - public static bool Success(out T result, T value) { } - } - public class static TypeExtensions - { - public static System.Type GetCollectionItemType(this System.Type type) { } - public static System.Type GetComponentType(this object obj) { } - public static System.Type NonNullable(this System.Type type) { } - } - public class static Wsdl - { - public const string NamespaceUri = "http://microsoft.com/wsdl/types/"; - public const string Prefix = "wsdl"; - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true)] - public class XPathAttribute : System.Attribute - { - public XPathAttribute(string path) { } - public XPathAttribute(string get, string set) { } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPath GetPath { get; } - public bool Nullable { get; set; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPath SetPath { get; } - } - public class XPathBehaviorAccessor : Castle.Components.DictionaryAdapter.Xml.XmlAccessor, Castle.Components.DictionaryAdapter.Xml.IConfigurable, Castle.Components.DictionaryAdapter.Xml.IConfigurable, Castle.Components.DictionaryAdapter.Xml.IConfigurable, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap - { - protected XPathBehaviorAccessor(System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public void Configure(Castle.Components.DictionaryAdapter.Xml.XPathAttribute attribute) { } - public void Configure(Castle.Components.DictionaryAdapter.Xml.XPathVariableAttribute attribute) { } - public void Configure(Castle.Components.DictionaryAdapter.Xml.XPathFunctionAttribute attribute) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType) { } - public override object GetPropertyValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool orStub) { } - public override bool IsPropertyDefined(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode) { } - public override void Prepare() { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool create) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool create) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool create) { } - public override void SetPropertyValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, object oldValue, ref object value) { } - public bool TryGet(Castle.Components.DictionaryAdapter.Xml.XmlName xsiType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - public bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - } - public class static XPathCompiler - { - public static Castle.Components.DictionaryAdapter.Xml.CompiledXPath Compile(string path) { } - } - public class static XPathExtensions - { - public static System.Xml.XPath.XPathNavigator CreateNavigatorSafe(this System.Xml.XPath.IXPathNavigable source) { } - public static void DeleteChildren(this System.Xml.XPath.XPathNavigator node) { } - public static System.Xml.XPath.XPathNavigator GetParent(this System.Xml.XPath.XPathNavigator navigator) { } - public static System.Xml.XPath.XPathNavigator GetRootElement(this System.Xml.XPath.XPathNavigator navigator) { } - public static bool MoveToLastAttribute(this System.Xml.XPath.XPathNavigator navigator) { } - public static bool MoveToLastChild(this System.Xml.XPath.XPathNavigator navigator) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true)] - public abstract class XPathFunctionAttribute : System.Attribute, System.Xml.Xsl.IXsltContextFunction - { - public static readonly System.Xml.XPath.XPathResultType[] NoArgs; - protected XPathFunctionAttribute() { } - public virtual System.Xml.XPath.XPathResultType[] ArgTypes { get; } - public virtual int Maxargs { get; } - public virtual int Minargs { get; } - public abstract Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public abstract System.Xml.XPath.XPathResultType ReturnType { get; } - public abstract object Invoke(System.Xml.Xsl.XsltContext context, object[] args, System.Xml.XPath.XPathNavigator node); - } - public class XPathNode : Castle.Components.DictionaryAdapter.Xml.XmlNodeBase, Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IRealizable, Castle.Components.DictionaryAdapter.Xml.IRealizable, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - protected System.Xml.XPath.XPathNavigator node; - protected readonly Castle.Components.DictionaryAdapter.Xml.CompiledXPath xpath; - protected XPathNode(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.IXmlNode parent) { } - public XPathNode(System.Xml.XPath.XPathNavigator node, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces) { } - public virtual bool IsAttribute { get; } - public virtual bool IsElement { get; } - public virtual bool IsNil { get; set; } - public virtual Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public override Castle.Components.DictionaryAdapter.Xml.CompiledXPath Path { get; } - public object UnderlyingObject { get; } - public virtual string Value { get; set; } - public virtual string Xml { get; } - public virtual Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - public virtual void Clear() { } - public void DefineNamespace(string prefix, string namespaceUri, bool root) { } - public virtual object Evaluate(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path) { } - public string GetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name) { } - public string LookupNamespaceUri(string prefix) { } - public string LookupPrefix(string namespaceUri) { } - public virtual System.Xml.XmlReader ReadSubtree() { } - public virtual Castle.Components.DictionaryAdapter.Xml.IXmlNode Save() { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor Select(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap includedTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectChildren(Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap knownTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectSelf(System.Type clrType) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlIterator SelectSubtree() { } - public void SetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name, string value) { } - public bool UnderlyingPositionEquals(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public virtual System.Xml.XmlWriter WriteAttributes() { } - public virtual System.Xml.XmlWriter WriteChildren() { } - } - public class XPathReadOnlyCursor : Castle.Components.DictionaryAdapter.Xml.XPathNode, Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlCursor, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlIterator, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - public XPathReadOnlyCursor(Castle.Components.DictionaryAdapter.Xml.IXmlNode parent, Castle.Components.DictionaryAdapter.Xml.CompiledXPath path, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap includedTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public void Coerce(System.Type type) { } - public void Create(System.Type type) { } - public void MakeNext(System.Type type) { } - public bool MoveNext() { } - public void MoveTo(Castle.Components.DictionaryAdapter.Xml.IXmlNode position) { } - public void MoveToEnd() { } - public void Remove() { } - public void RemoveAllNext() { } - public void Reset() { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlNode Save() { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true)] - public abstract class XPathVariableAttribute : System.Attribute, System.Xml.Xsl.IXsltContextVariable - { - protected XPathVariableAttribute() { } - public abstract Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public abstract System.Xml.XPath.XPathResultType VariableType { get; } - public abstract object Evaluate(System.Xml.Xsl.XsltContext context); - } - public class static XRef - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlName Id; - public const string NamespaceUri = "urn:schemas-castle-org:xml-reference"; - public const string Prefix = "x"; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlName Ref; - public static string GetId(this Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public static string GetReference(this Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public static void SetId(this Castle.Components.DictionaryAdapter.Xml.IXmlCursor node, string id) { } - public static void SetReference(this Castle.Components.DictionaryAdapter.Xml.IXmlCursor cursor, string id) { } - } - public abstract class XmlAccessor : Castle.Components.DictionaryAdapter.Xml.IXmlAccessor, Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor, Castle.Components.DictionaryAdapter.Xml.IXmlPropertyAccessor - { - protected Castle.Components.DictionaryAdapter.Xml.XmlAccessor.States state; - protected XmlAccessor(System.Type clrType, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public System.Type ClrType { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlContext Context { get; set; } - public bool IsCollection { get; } - public virtual bool IsIgnored { get; } - public bool IsNillable { get; } - public bool IsReference { get; } - public bool IsVolatile { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer Serializer { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - protected Castle.Components.DictionaryAdapter.Xml.IXmlContext CloneContext() { } - public virtual void ConfigureNillable(bool nillable) { } - public virtual void ConfigureReference(bool isReference) { } - public void ConfigureVolatile(bool isVolatile) { } - public virtual Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType) { } - public void GetCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, System.Collections.IList values) { } - protected Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetDefaultCollectionAccessor(System.Type itemType) { } - public virtual object GetPropertyValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool orStub) { } - public object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool nodeExists, bool orStub) { } - public virtual bool IsPropertyDefined(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode) { } - public virtual void Prepare() { } - protected void RemoveCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, object value) { } - public virtual Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, bool mutable) { } - public virtual Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, bool mutable) { } - public virtual Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, bool mutable) { } - public virtual void SetPropertyValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, object oldValue, ref object value) { } - public virtual void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlCursor cursor, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool hasCurrent, object oldValue, ref object newValue) { } - [System.FlagsAttribute()] - protected enum States - { - Nillable = 1, - Volatile = 2, - Reference = 4, - ConfiguredContext = 8, - ConfiguredLocalName = 16, - ConfiguredNamespaceUri = 32, - ConfiguredKnownTypes = 64, - } - } - public delegate TAccessor XmlAccessorFactory(string name, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context); - public class XmlAdapter : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryCopyStrategy, Castle.Components.DictionaryAdapter.IDictionaryCreateStrategy, Castle.Components.DictionaryAdapter.IDictionaryInitializer, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter, Castle.Components.DictionaryAdapter.IDictionaryPropertySetter, Castle.Components.DictionaryAdapter.IDictionaryReferenceManager, Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IXmlNodeSource - { - public XmlAdapter() { } - public XmlAdapter(System.Xml.XmlNode node) { } - public XmlAdapter(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references) { } - public bool IsReal { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlNode Node { get; } - public event System.EventHandler Realized; - public override Castle.Components.DictionaryAdapter.IDictionaryBehavior Copy() { } - public static Castle.Components.DictionaryAdapter.Xml.XmlAdapter For(object obj) { } - public static Castle.Components.DictionaryAdapter.Xml.XmlAdapter For(object obj, bool required) { } - public bool HasProperty(string propertyName, Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter) { } - public static bool IsPropertyDefined(string propertyName, Castle.Components.DictionaryAdapter.IDictionaryAdapter dictionaryAdapter) { } - protected virtual void OnRealized() { } - } - public class XmlArrayBehaviorAccessor : Castle.Components.DictionaryAdapter.Xml.XmlNodeAccessor, Castle.Components.DictionaryAdapter.Xml.IConfigurable, Castle.Components.DictionaryAdapter.Xml.IConfigurable - { - public XmlArrayBehaviorAccessor(string name, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public void Configure(System.Xml.Serialization.XmlArrayAttribute attribute) { } - public void Configure(System.Xml.Serialization.XmlArrayItemAttribute attribute) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType) { } - public override void Prepare() { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - } - public class XmlArraySerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlArraySerializer Instance; - protected XmlArraySerializer() { } - public override bool CanGetStub { get; } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetStub(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlAttributeBehaviorAccessor : Castle.Components.DictionaryAdapter.Xml.XmlNodeAccessor, Castle.Components.DictionaryAdapter.Xml.IConfigurable - { - public XmlAttributeBehaviorAccessor(string name, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public void Configure(System.Xml.Serialization.XmlAttributeAttribute attribute) { } - public override void ConfigureNillable(bool nillable) { } - public override void ConfigureReference(bool isReference) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - } - public abstract class XmlCollectionSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - protected XmlCollectionSerializer() { } - public override bool CanGetStub { get; } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public abstract System.Type ListTypeConstructor { get; } - public override object GetStub(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlComponentSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlComponentSerializer Instance; - protected XmlComponentSerializer() { } - public override bool CanGetStub { get; } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetStub(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlContext : Castle.Components.DictionaryAdapter.Xml.XmlContextBase, Castle.Components.DictionaryAdapter.Xml.IXmlContext, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource - { - public XmlContext(Castle.Components.DictionaryAdapter.Xml.XmlMetadata metadata) { } - protected XmlContext(Castle.Components.DictionaryAdapter.Xml.XmlContext parent) { } - public string ChildNamespaceUri { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlContext Clone() { } - public Castle.Components.DictionaryAdapter.Xml.XmlName GetDefaultXsiType(System.Type clrType) { } - public System.Collections.Generic.IEnumerable GetIncludedTypes(System.Type baseType) { } - public bool IsReservedNamespaceUri(string namespaceUri) { } - } - public class XmlContextBase : System.Xml.Xsl.XsltContext, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource - { - public XmlContextBase() { } - protected XmlContextBase(Castle.Components.DictionaryAdapter.Xml.XmlContextBase parent) { } - public override bool Whitespace { get; } - public void AddFunction(string prefix, string name, System.Xml.Xsl.IXsltContextFunction function) { } - public void AddFunction(Castle.Components.DictionaryAdapter.Xml.XPathFunctionAttribute attribute) { } - public void AddFunction(Castle.Components.DictionaryAdapter.Xml.XmlName name, System.Xml.Xsl.IXsltContextFunction function) { } - public void AddNamespace(Castle.Components.DictionaryAdapter.XmlNamespaceAttribute attribute) { } - public override void AddNamespace(string prefix, string uri) { } - public void AddVariable(string prefix, string name, System.Xml.Xsl.IXsltContextVariable variable) { } - public void AddVariable(Castle.Components.DictionaryAdapter.Xml.XPathVariableAttribute attribute) { } - public void AddVariable(Castle.Components.DictionaryAdapter.Xml.XmlName name, System.Xml.Xsl.IXsltContextVariable variable) { } - public override int CompareDocument(string baseUriA, string baseUriB) { } - public void Enlist(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path) { } - public string GetAttributePrefix(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, string namespaceUri) { } - public string GetElementPrefix(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, string namespaceUri) { } - public override string LookupNamespace(string prefix) { } - public override string LookupPrefix(string uri) { } - public override bool PreserveWhitespace(System.Xml.XPath.XPathNavigator node) { } - public override System.Xml.Xsl.IXsltContextFunction ResolveFunction(string prefix, string name, System.Xml.XPath.XPathResultType[] argTypes) { } - public override System.Xml.Xsl.IXsltContextVariable ResolveVariable(string prefix, string name) { } - } - public class XmlCustomSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlCustomSerializer Instance; - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlDefaultBehaviorAccessor : Castle.Components.DictionaryAdapter.Xml.XmlNodeAccessor - { - public XmlDefaultBehaviorAccessor(System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public XmlDefaultBehaviorAccessor(string name, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - } - public class XmlDefaultSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly System.Xml.Serialization.XmlRootAttribute Root; - public XmlDefaultSerializer(System.Type type) { } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlDynamicSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlDynamicSerializer Instance; - protected XmlDynamicSerializer() { } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlElementBehaviorAccessor : Castle.Components.DictionaryAdapter.Xml.XmlNodeAccessor, Castle.Components.DictionaryAdapter.Xml.IConfigurable, Castle.Components.DictionaryAdapter.Xml.IXmlBehaviorSemantics - { - public XmlElementBehaviorAccessor(string name, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public void Configure(System.Xml.Serialization.XmlElementAttribute attribute) { } - public System.Type GetClrType(System.Xml.Serialization.XmlElementAttribute attribute) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType) { } - public string GetLocalName(System.Xml.Serialization.XmlElementAttribute attribute) { } - public string GetNamespaceUri(System.Xml.Serialization.XmlElementAttribute attribute) { } - public override void Prepare() { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlCursor cursor, Castle.Components.DictionaryAdapter.IDictionaryAdapter parentObject, Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager references, bool hasCurrent, object oldValue, ref object newValue) { } - } - public class XmlEnumerationSerializer : Castle.Components.DictionaryAdapter.Xml.XmlStringSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlEnumerationSerializer Instance; - protected XmlEnumerationSerializer() { } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - } - public class XmlIgnoreBehaviorAccessor : Castle.Components.DictionaryAdapter.Xml.XmlAccessor - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlIgnoreBehaviorAccessor Instance; - public override bool IsIgnored { get; } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCollectionAccessor GetCollectionAccessor(System.Type itemType) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionItems(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectCollectionNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool mutable) { } - } - public class XmlIncludedType : Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType - { - public XmlIncludedType(Castle.Components.DictionaryAdapter.Xml.XmlName xsiType, System.Type clrType) { } - public XmlIncludedType(string localName, string namespaceUri, System.Type clrType) { } - public System.Type ClrType { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - } - public class static XmlIncludedTypeMapExtensions - { - public static Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType Require(this Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap includedTypes, System.Type clrType) { } - } - public class XmlIncludedTypeSet : Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable - { - public static readonly System.Collections.Generic.IList DefaultEntries; - public XmlIncludedTypeSet() { } - public void Add(Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - public System.Collections.Generic.IEnumerator GetEnumerator() { } - public bool TryGet(Castle.Components.DictionaryAdapter.Xml.XmlName xsiType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - public bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - } - public class XmlKnownType : Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType - { - public XmlKnownType(Castle.Components.DictionaryAdapter.Xml.XmlName name, Castle.Components.DictionaryAdapter.Xml.XmlName xsiType, System.Type clrType) { } - public XmlKnownType(string nameLocalName, string nameNamespaceUri, string xsiTypeLocalName, string xsiTypeNamespaceUri, System.Type clrType) { } - public System.Type ClrType { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - } - public class static XmlKnownTypeMapExtensions - { - public static Castle.Components.DictionaryAdapter.Xml.IXmlKnownType Require(this Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap map, System.Type clrType) { } - } - public class XmlKnownTypeSet : Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable - { - public XmlKnownTypeSet(System.Type defaultType) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlKnownType Default { get; } - public void Add(Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType, bool overwrite) { } - public void AddXsiTypeDefaults() { } - public System.Collections.Generic.IEnumerator GetEnumerator() { } - public Castle.Components.DictionaryAdapter.Xml.IXmlKnownType[] ToArray() { } - public bool TryGet(Castle.Components.DictionaryAdapter.Xml.IXmlIdentity xmlIdentity, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType) { } - public bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType) { } - } - public class XmlListSerializer : Castle.Components.DictionaryAdapter.Xml.XmlCollectionSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlListSerializer Instance; - protected XmlListSerializer() { } - public override System.Type ListTypeConstructor { get; } - } - public class XmlMetadata : Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap - { - protected static readonly System.StringComparer NameComparer; - public XmlMetadata(Castle.Components.DictionaryAdapter.DictionaryAdapterMeta meta, System.Collections.Generic.IEnumerable reservedNamespaceUris) { } - public string ChildNamespaceUri { get; } - public System.Type ClrType { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlContext Context { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlIncludedTypeSet IncludedTypes { get; } - public System.Nullable IsNullable { get; } - public System.Nullable IsReference { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPath Path { get; } - public System.Nullable Qualified { get; } - public System.Collections.Generic.IEnumerable ReservedNamespaceUris { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName GetDefaultXsiType(System.Type clrType) { } - public System.Collections.Generic.IEnumerable GetIncludedTypes(System.Type baseType) { } - public bool IsReservedNamespaceUri(string namespaceUri) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectBase(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public bool TryGet(Castle.Components.DictionaryAdapter.Xml.IXmlIdentity xmlIdentity, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType) { } - public bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType) { } - public bool TryGet(Castle.Components.DictionaryAdapter.Xml.XmlName xsiType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - public bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlIncludedType includedType) { } - } - public class XmlMetadataBehavior : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryMetaInitializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlMetadataBehavior Default; - public XmlMetadataBehavior() { } - public System.Collections.Generic.IEnumerable ReservedNamespaceUris { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlMetadataBehavior AddReservedNamespaceUri(string uri) { } - } - public struct XmlName : System.IEquatable - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlName Empty; - public XmlName(string localName, string namespaceUri) { } - public string LocalName { get; } - public string NamespaceUri { get; } - public bool Equals(Castle.Components.DictionaryAdapter.Xml.XmlName other) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public static Castle.Components.DictionaryAdapter.Xml.XmlName ParseQName(string text) { } - public override string ToString() { } - public Castle.Components.DictionaryAdapter.Xml.XmlName WithNamespaceUri(string namespaceUri) { } - public static bool ==(Castle.Components.DictionaryAdapter.Xml.XmlName x, Castle.Components.DictionaryAdapter.Xml.XmlName y) { } - public static bool !=(Castle.Components.DictionaryAdapter.Xml.XmlName x, Castle.Components.DictionaryAdapter.Xml.XmlName y) { } - } - public class XmlNameComparer : System.Collections.Generic.IEqualityComparer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlNameComparer Default; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlNameComparer IgnoreCase; - public bool Equals(Castle.Components.DictionaryAdapter.Xml.XmlName x, Castle.Components.DictionaryAdapter.Xml.XmlName y) { } - public int GetHashCode(Castle.Components.DictionaryAdapter.Xml.XmlName name) { } - } - public abstract class XmlNodeAccessor : Castle.Components.DictionaryAdapter.Xml.XmlAccessor, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap - { - protected static readonly System.StringComparer NameComparer; - protected XmlNodeAccessor(System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - protected XmlNodeAccessor(string name, System.Type type, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - protected Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap KnownTypes { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - protected void ConfigureKnownTypesFromAttributes(System.Collections.Generic.IEnumerable attributes, Castle.Components.DictionaryAdapter.Xml.IXmlBehaviorSemantics semantics) { } - protected void ConfigureKnownTypesFromParent(Castle.Components.DictionaryAdapter.Xml.XmlNodeAccessor accessor) { } - protected void ConfigureLocalName(string localName) { } - protected void ConfigureNamespaceUri(string namespaceUri) { } - protected virtual bool IsMatch(Castle.Components.DictionaryAdapter.Xml.IXmlIdentity xmlIdentity) { } - protected virtual bool IsMatch(System.Type clrType) { } - public override void Prepare() { } - public bool TryGet(Castle.Components.DictionaryAdapter.Xml.IXmlIdentity xmlName, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType) { } - public bool TryGet(System.Type clrType, out Castle.Components.DictionaryAdapter.Xml.IXmlKnownType knownType) { } - } - public abstract class XmlNodeBase : Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource - { - protected System.Type type; - protected XmlNodeBase(Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.IXmlNode parent) { } - public virtual System.Type ClrType { get; } - public virtual bool IsReal { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource Namespaces { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlNode Parent { get; } - public virtual Castle.Components.DictionaryAdapter.Xml.CompiledXPath Path { get; } - public event System.EventHandler Realized; - protected virtual void Realize() { } - } - public class XmlPositionComparer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlPositionComparer Instance; - public XmlPositionComparer() { } - public bool Equals(Castle.Components.DictionaryAdapter.Xml.IXmlNode nodeA, Castle.Components.DictionaryAdapter.Xml.IXmlNode nodeB) { } - } - public class XmlReferenceManager - { - public XmlReferenceManager(Castle.Components.DictionaryAdapter.Xml.IXmlNode root, Castle.Components.DictionaryAdapter.Xml.IXmlReferenceFormat format) { } - public void Add(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, object keyValue, object newValue, bool isInGraph) { } - public void OnAssignedValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, object givenValue, object storedValue, object token) { } - public bool OnAssigningNull(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, object oldValue) { } - public bool OnAssigningValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, object oldValue, ref object newValue, out object token) { } - public void OnGetCompleted(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, object value, object token) { } - public bool OnGetStarting(ref Castle.Components.DictionaryAdapter.Xml.IXmlNode node, ref object value, out object token) { } - public bool TryGet(object keyObject, out object inGraphObject) { } - public void UnionWith(Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager other) { } - } - public class XmlSelfAccessor : Castle.Components.DictionaryAdapter.Xml.XmlAccessor - { - public XmlSelfAccessor(System.Type clrType, Castle.Components.DictionaryAdapter.Xml.IXmlContext context) { } - public override void ConfigureNillable(bool nillable) { } - public override Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectPropertyNode(Castle.Components.DictionaryAdapter.Xml.IXmlNode parentNode, bool mutable) { } - } - public class XmlSelfCursor : Castle.Components.DictionaryAdapter.IVirtual, Castle.Components.DictionaryAdapter.Xml.IRealizableSource, Castle.Components.DictionaryAdapter.Xml.IXmlCursor, Castle.Components.DictionaryAdapter.Xml.IXmlIdentity, Castle.Components.DictionaryAdapter.Xml.IXmlIterator, Castle.Components.DictionaryAdapter.Xml.IXmlKnownType, Castle.Components.DictionaryAdapter.Xml.IXmlNode - { - public XmlSelfCursor(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, System.Type clrType) { } - public System.Type ClrType { get; } - public Castle.Components.DictionaryAdapter.Xml.CursorFlags Flags { get; } - public bool IsAttribute { get; } - public bool IsElement { get; } - public bool IsNil { get; set; } - public bool IsReal { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName Name { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource Namespaces { get; } - public Castle.Components.DictionaryAdapter.Xml.IXmlNode Parent { get; } - public Castle.Components.DictionaryAdapter.Xml.CompiledXPath Path { get; } - public object UnderlyingObject { get; } - public string Value { get; set; } - public string Xml { get; } - public Castle.Components.DictionaryAdapter.Xml.XmlName XsiType { get; } - public event System.EventHandler Realized; - public Castle.Components.DictionaryAdapter.Xml.IRealizable AsRealizable() { } - public void Clear() { } - public void Coerce(System.Type type) { } - public void Create(System.Type type) { } - public void DefineNamespace(string prefix, string namespaceUri, bool root) { } - public object Evaluate(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path) { } - public string GetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name) { } - public string LookupNamespaceUri(string prefix) { } - public string LookupPrefix(string namespaceUri) { } - public void MakeNext(System.Type type) { } - public bool MoveNext() { } - public void MoveTo(Castle.Components.DictionaryAdapter.Xml.IXmlNode position) { } - public void MoveToEnd() { } - public System.Xml.XmlReader ReadSubtree() { } - public void Realize() { } - public void Remove() { } - public void RemoveAllNext() { } - public void Reset() { } - public Castle.Components.DictionaryAdapter.Xml.IXmlNode Save() { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor Select(Castle.Components.DictionaryAdapter.Xml.CompiledXPath path, Castle.Components.DictionaryAdapter.Xml.IXmlIncludedTypeMap knownTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectChildren(Castle.Components.DictionaryAdapter.Xml.IXmlKnownTypeMap knownTypes, Castle.Components.DictionaryAdapter.Xml.IXmlNamespaceSource namespaces, Castle.Components.DictionaryAdapter.Xml.CursorFlags flags) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlCursor SelectSelf(System.Type clrType) { } - public Castle.Components.DictionaryAdapter.Xml.IXmlIterator SelectSubtree() { } - public void SetAttribute(Castle.Components.DictionaryAdapter.Xml.XmlName name, string value) { } - public bool UnderlyingPositionEquals(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public System.Xml.XmlWriter WriteAttributes() { } - public System.Xml.XmlWriter WriteChildren() { } - } - public class static XmlSimpleSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForBoolean; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForByte; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForByteArray; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForChar; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForDateTime; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForDateTimeOffset; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForDecimal; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForDouble; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForGuid; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForInt16; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForInt32; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForInt64; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForSByte; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForSingle; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForTimeSpan; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForUInt16; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForUInt32; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForUInt64; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer ForUri; - } - public class XmlSimpleSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public XmlSimpleSerializer(System.Func getString, System.Func getObject) { } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlStringSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlStringSerializer Instance; - protected XmlStringSerializer() { } - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class XmlSubtreeReader : System.Xml.XmlReader - { - public XmlSubtreeReader(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, System.Xml.Serialization.XmlRootAttribute root) { } - public XmlSubtreeReader(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, string rootLocalName, string rootNamespaceUri) { } - public override int AttributeCount { get; } - public override string BaseURI { get; } - public override int Depth { get; } - public override bool EOF { get; } - public override bool HasValue { get; } - public bool IsAtRootElement { get; } - public bool IsDisposed { get; } - public override bool IsEmptyElement { get; } - public override string LocalName { get; } - public override System.Xml.XmlNameTable NameTable { get; } - public override string NamespaceURI { get; } - public override System.Xml.XmlNodeType NodeType { get; } - public override string Prefix { get; } - public override System.Xml.ReadState ReadState { get; } - protected System.Xml.XmlReader Reader { get; } - public override string Value { get; } - public override void Close() { } - protected override void Dispose(bool managed) { } - public override string GetAttribute(int i) { } - public override string GetAttribute(string name) { } - public override string GetAttribute(string name, string namespaceURI) { } - public override string LookupNamespace(string prefix) { } - public override bool MoveToAttribute(string name) { } - public override bool MoveToAttribute(string name, string ns) { } - public override bool MoveToElement() { } - public override bool MoveToFirstAttribute() { } - public override bool MoveToNextAttribute() { } - public override bool Read() { } - public override bool ReadAttributeValue() { } - public override void ResolveEntity() { } - } - public class XmlSubtreeWriter : System.Xml.XmlWriter - { - public XmlSubtreeWriter(Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public override System.Xml.WriteState WriteState { get; } - public override void Close() { } - protected override void Dispose(bool managed) { } - public override void Flush() { } - public override string LookupPrefix(string ns) { } - public override void WriteBase64(byte[] buffer, int index, int count) { } - public override void WriteCData(string text) { } - public override void WriteCharEntity(char ch) { } - public override void WriteChars(char[] buffer, int index, int count) { } - public override void WriteComment(string text) { } - public override void WriteDocType(string name, string pubid, string sysid, string subset) { } - public override void WriteEndAttribute() { } - public override void WriteEndDocument() { } - public override void WriteEndElement() { } - public override void WriteEntityRef(string name) { } - public override void WriteFullEndElement() { } - public override void WriteProcessingInstruction(string name, string text) { } - public override void WriteRaw(string data) { } - public override void WriteRaw(char[] buffer, int index, int count) { } - public override void WriteStartAttribute(string prefix, string localName, string ns) { } - public override void WriteStartDocument(bool standalone) { } - public override void WriteStartDocument() { } - public override void WriteStartElement(string prefix, string localName, string ns) { } - public override void WriteString(string text) { } - public override void WriteSurrogateCharEntity(char lowChar, char highChar) { } - public override void WriteWhitespace(string ws) { } - } - public enum XmlTypeKind - { - Simple = 0, - Complex = 1, - Collection = 2, - } - public abstract class XmlTypeSerializer - { - protected XmlTypeSerializer() { } - public virtual bool CanGetStub { get; } - public abstract Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public static Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer For(System.Type type) { } - public virtual object GetStub(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public abstract object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor); - public abstract void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value); - } - public class XmlXmlNodeSerializer : Castle.Components.DictionaryAdapter.Xml.XmlTypeSerializer - { - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlXmlNodeSerializer Instance; - public override Castle.Components.DictionaryAdapter.Xml.XmlTypeKind Kind { get; } - public override object GetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor) { } - public override void SetValue(Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.IDictionaryAdapter parent, Castle.Components.DictionaryAdapter.Xml.IXmlAccessor accessor, object oldValue, ref object value) { } - } - public class static Xmlns - { - public const string NamespaceUri = "http://www.w3.org/2000/xmlns/"; - public const string Prefix = "xmlns"; - } - public class static Xsd - { - public const string NamespaceUri = "http://www.w3.org/2001/XMLSchema"; - public const string Prefix = "xsd"; - } - public class static Xsi - { - public const string NamespaceUri = "http://www.w3.org/2001/XMLSchema-instance"; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlName Nil; - public const string NilValue = "true"; - public const string Prefix = "xsi"; - public static readonly Castle.Components.DictionaryAdapter.Xml.XmlName Type; - public static Castle.Components.DictionaryAdapter.Xml.XmlName GetXsiType(this Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public static bool IsXsiNil(this Castle.Components.DictionaryAdapter.Xml.IXmlNode node) { } - public static void SetXsiNil(this Castle.Components.DictionaryAdapter.Xml.IXmlNode node, bool nil) { } - public static void SetXsiType(this Castle.Components.DictionaryAdapter.Xml.IXmlNode node, Castle.Components.DictionaryAdapter.Xml.XmlName xsiType) { } - } -} -namespace Castle.Core.Configuration -{ - public abstract class AbstractConfiguration : Castle.Core.Configuration.IConfiguration - { - protected AbstractConfiguration() { } - public virtual Castle.Core.Configuration.ConfigurationAttributeCollection Attributes { get; } - public virtual Castle.Core.Configuration.ConfigurationCollection Children { get; } - public string Name { get; set; } - public string Value { get; set; } - public virtual object GetValue(System.Type type, object defaultValue) { } - } - public class ConfigurationAttributeCollection : System.Collections.Specialized.NameValueCollection - { - public ConfigurationAttributeCollection() { } - protected ConfigurationAttributeCollection(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - } - public class ConfigurationCollection : System.Collections.Generic.List - { - public ConfigurationCollection() { } - public ConfigurationCollection(System.Collections.Generic.IEnumerable value) { } - public Castle.Core.Configuration.IConfiguration this[string name] { get; } - } - public interface IConfiguration - { - Castle.Core.Configuration.ConfigurationAttributeCollection Attributes { get; } - Castle.Core.Configuration.ConfigurationCollection Children { get; } - string Name { get; } - string Value { get; } - object GetValue(System.Type type, object defaultValue); - } - public class MutableConfiguration : Castle.Core.Configuration.AbstractConfiguration - { - public MutableConfiguration(string name) { } - public MutableConfiguration(string name, string value) { } - public new string Value { get; set; } - public Castle.Core.Configuration.MutableConfiguration Attribute(string name, string value) { } - public static Castle.Core.Configuration.MutableConfiguration Create(string name) { } - public Castle.Core.Configuration.MutableConfiguration CreateChild(string name) { } - public Castle.Core.Configuration.MutableConfiguration CreateChild(string name, string value) { } - } -} -namespace Castle.Core.Configuration.Xml -{ - public class XmlConfigurationDeserializer - { - public XmlConfigurationDeserializer() { } - public Castle.Core.Configuration.IConfiguration Deserialize(System.Xml.XmlNode node) { } - public static string GetConfigValue(string value) { } - public static Castle.Core.Configuration.IConfiguration GetDeserializedNode(System.Xml.XmlNode node) { } - public static bool IsTextNode(System.Xml.XmlNode node) { } - } -} -namespace Castle.Core -{ - public interface IServiceEnabledComponent - { - void Service(System.IServiceProvider provider); - } - public interface IServiceProviderEx : System.IServiceProvider - { - T GetService() - where T : class; - } - public interface IServiceProviderExAccessor - { - Castle.Core.IServiceProviderEx ServiceProvider { get; } - } - public class Pair : System.IEquatable> - { - public Pair(TFirst first, TSecond second) { } - public TFirst First { get; } - public TSecond Second { get; } - public bool Equals(Castle.Core.Pair other) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public override string ToString() { } - } - public class static ProxyServices - { - public static bool IsDynamicProxy(System.Type type) { } - } - public class ReferenceEqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer - { - public static Castle.Core.ReferenceEqualityComparer Instance { get; } - public int GetHashCode(object obj) { } - } - public sealed class ReflectionBasedDictionaryAdapter : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable - { - public ReflectionBasedDictionaryAdapter(object target) { } - public int Count { get; } - public bool IsReadOnly { get; } - public bool IsSynchronized { get; } - public object this[object key] { get; set; } - public System.Collections.ICollection Keys { get; } - public object SyncRoot { get; } - public System.Collections.ICollection Values { get; } - public void Add(object key, object value) { } - public void Clear() { } - public bool Contains(object key) { } - public System.Collections.IEnumerator GetEnumerator() { } - public static void Read(System.Collections.IDictionary targetDictionary, object valuesAsAnonymousObject) { } - public void Remove(object key) { } - } - public sealed class StringObjectDictionaryAdapter : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable - { - public StringObjectDictionaryAdapter(System.Collections.IDictionary dictionary) { } - public int Count { get; } - public bool IsFixedSize { get; } - public bool IsReadOnly { get; } - public bool IsSynchronized { get; } - public object this[object key] { get; set; } - public System.Collections.ICollection Keys { get; } - public object SyncRoot { get; } - public System.Collections.ICollection Values { get; } - public void Add(object key, object value) { } - public void Clear() { } - public bool Contains(object key) { } - public void CopyTo(System.Array array, int index) { } - public System.Collections.IEnumerator GetEnumerator() { } - public void Remove(object key) { } - } -} -namespace Castle.Core.Internal -{ - public class static AttributesUtil - { - public static T GetAttribute(this System.Type type) - where T : System.Attribute { } - public static T GetAttribute(this System.Reflection.MemberInfo member) - where T : System.Attribute { } - public static System.AttributeUsageAttribute GetAttributeUsage(this System.Type attributeType) { } - public static System.Collections.Generic.IEnumerable GetAttributes(this System.Type type) - where T : System.Attribute { } - public static System.Collections.Generic.IEnumerable GetAttributes(this System.Reflection.MemberInfo member) - where T : System.Attribute { } - public static T GetTypeAttribute(this System.Type type) - where T : System.Attribute { } - public static T[] GetTypeAttributes(System.Type type) - where T : System.Attribute { } - public static System.Type GetTypeConverter(System.Reflection.MemberInfo member) { } - } - public class static CollectionExtensions - { - public static bool AreEquivalent(System.Collections.Generic.IList listA, System.Collections.Generic.IList listB) { } - public static T Find(this T[] items, System.Predicate predicate) { } - public static T[] FindAll(this T[] items, System.Predicate predicate) { } - public static int GetContentsHashCode(System.Collections.Generic.IList list) { } - public static bool IsNullOrEmpty(this System.Collections.IEnumerable @this) { } - } - [System.ObsoleteAttribute("Consider using `System.Threading.ReaderWriterLockSlim` instead of `Lock` and rela" + - "ted types.")] - public interface ILockHolder : System.IDisposable - { - bool LockAcquired { get; } - } - [System.ObsoleteAttribute("Consider using `System.Threading.ReaderWriterLockSlim` instead of `Lock` and rela" + - "ted types.")] - public interface IUpgradeableLockHolder : Castle.Core.Internal.ILockHolder, System.IDisposable - { - Castle.Core.Internal.ILockHolder Upgrade(); - Castle.Core.Internal.ILockHolder Upgrade(bool waitForLock); - } - public class InternalsVisible - { - public const string ToCastleCore = @"Castle.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010077F5E87030DADCCCE6902C6ADAB7A987BD69CB5819991531F560785EACFC89B6FCDDF6BB2A00743A7194E454C0273447FC6EEC36474BA8E5A3823147D214298E4F9A631B1AFEE1A51FFEAE4672D498F14B000E3D321453CDD8AC064DE7E1CF4D222B7E81F54D4FD46725370D702A05B48738CC29D09228F1AA722AE1A9CA02FB"; - public const string ToDynamicProxyGenAssembly2 = @"DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7"; - public InternalsVisible() { } - } - [System.ObsoleteAttribute("Consider using `System.Threading.ReaderWriterLockSlim` instead of `Lock` and rela" + - "ted types.")] - public abstract class Lock - { - protected Lock() { } - public static Castle.Core.Internal.Lock Create() { } - public abstract Castle.Core.Internal.ILockHolder ForReading(); - public abstract Castle.Core.Internal.ILockHolder ForReading(bool waitForLock); - public abstract Castle.Core.Internal.IUpgradeableLockHolder ForReadingUpgradeable(); - public abstract Castle.Core.Internal.IUpgradeableLockHolder ForReadingUpgradeable(bool waitForLock); - public abstract Castle.Core.Internal.ILockHolder ForWriting(); - public abstract Castle.Core.Internal.ILockHolder ForWriting(bool waitForLock); - } - public class static PermissionUtil - { - public static bool IsGranted(this System.Security.IPermission permission) { } - } -} -namespace Castle.Core.Logging -{ - public abstract class AbstractExtendedLoggerFactory : System.MarshalByRefObject, Castle.Core.Logging.IExtendedLoggerFactory, Castle.Core.Logging.ILoggerFactory - { - protected AbstractExtendedLoggerFactory() { } - public virtual Castle.Core.Logging.IExtendedLogger Create(System.Type type) { } - public abstract Castle.Core.Logging.IExtendedLogger Create(string name); - public virtual Castle.Core.Logging.IExtendedLogger Create(System.Type type, Castle.Core.Logging.LoggerLevel level) { } - public abstract Castle.Core.Logging.IExtendedLogger Create(string name, Castle.Core.Logging.LoggerLevel level); - protected static System.IO.FileInfo GetConfigFile(string fileName) { } - } - public abstract class AbstractLoggerFactory : System.MarshalByRefObject, Castle.Core.Logging.ILoggerFactory - { - protected AbstractLoggerFactory() { } - public virtual Castle.Core.Logging.ILogger Create(System.Type type) { } - public virtual Castle.Core.Logging.ILogger Create(System.Type type, Castle.Core.Logging.LoggerLevel level) { } - public abstract Castle.Core.Logging.ILogger Create(string name); - public abstract Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level); - protected static System.IO.FileInfo GetConfigFile(string fileName) { } - } - public class ConsoleFactory : System.MarshalByRefObject, Castle.Core.Logging.ILoggerFactory - { - public ConsoleFactory() { } - public ConsoleFactory(Castle.Core.Logging.LoggerLevel level) { } - public Castle.Core.Logging.ILogger Create(System.Type type) { } - public Castle.Core.Logging.ILogger Create(string name) { } - public Castle.Core.Logging.ILogger Create(System.Type type, Castle.Core.Logging.LoggerLevel level) { } - public Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class ConsoleLogger : Castle.Core.Logging.LevelFilteredLogger - { - public ConsoleLogger() { } - public ConsoleLogger(Castle.Core.Logging.LoggerLevel logLevel) { } - public ConsoleLogger(string name) { } - public ConsoleLogger(string name, Castle.Core.Logging.LoggerLevel logLevel) { } - public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { } - protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { } - } - public class DiagnosticsLogger : Castle.Core.Logging.LevelFilteredLogger, System.IDisposable - { - public DiagnosticsLogger(string logName) { } - public DiagnosticsLogger(string logName, string source) { } - public DiagnosticsLogger(string logName, string machineName, string source) { } - public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - protected override void Finalize() { } - protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { } - } - public class DiagnosticsLoggerFactory : Castle.Core.Logging.AbstractLoggerFactory - { - public DiagnosticsLoggerFactory() { } - public override Castle.Core.Logging.ILogger Create(string name) { } - public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public interface IContextProperties - { - object this[string key] { get; set; } - } - public interface IContextStack - { - int Count { get; } - void Clear(); - string Pop(); - System.IDisposable Push(string message); - } - public interface IContextStacks - { - Castle.Core.Logging.IContextStack this[string key] { get; } - } - public interface IExtendedLogger : Castle.Core.Logging.ILogger - { - Castle.Core.Logging.IContextProperties GlobalProperties { get; } - Castle.Core.Logging.IContextProperties ThreadProperties { get; } - Castle.Core.Logging.IContextStacks ThreadStacks { get; } - } - public interface IExtendedLoggerFactory : Castle.Core.Logging.ILoggerFactory - { - Castle.Core.Logging.IExtendedLogger Create(System.Type type); - Castle.Core.Logging.IExtendedLogger Create(string name); - Castle.Core.Logging.IExtendedLogger Create(System.Type type, Castle.Core.Logging.LoggerLevel level); - Castle.Core.Logging.IExtendedLogger Create(string name, Castle.Core.Logging.LoggerLevel level); - } - public interface ILogger - { - bool IsDebugEnabled { get; } - bool IsErrorEnabled { get; } - bool IsFatalEnabled { get; } - bool IsInfoEnabled { get; } - bool IsTraceEnabled { get; } - bool IsWarnEnabled { get; } - Castle.Core.Logging.ILogger CreateChildLogger(string loggerName); - void Debug(string message); - void Debug(System.Func messageFactory); - void Debug(string message, System.Exception exception); - void DebugFormat(string format, params object[] args); - void DebugFormat(System.Exception exception, string format, params object[] args); - void DebugFormat(System.IFormatProvider formatProvider, string format, params object[] args); - void DebugFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args); - void Error(string message); - void Error(System.Func messageFactory); - void Error(string message, System.Exception exception); - void ErrorFormat(string format, params object[] args); - void ErrorFormat(System.Exception exception, string format, params object[] args); - void ErrorFormat(System.IFormatProvider formatProvider, string format, params object[] args); - void ErrorFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args); - void Fatal(string message); - void Fatal(System.Func messageFactory); - void Fatal(string message, System.Exception exception); - void FatalFormat(string format, params object[] args); - void FatalFormat(System.Exception exception, string format, params object[] args); - void FatalFormat(System.IFormatProvider formatProvider, string format, params object[] args); - void FatalFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args); - void Info(string message); - void Info(System.Func messageFactory); - void Info(string message, System.Exception exception); - void InfoFormat(string format, params object[] args); - void InfoFormat(System.Exception exception, string format, params object[] args); - void InfoFormat(System.IFormatProvider formatProvider, string format, params object[] args); - void InfoFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args); - void Trace(string message); - void Trace(System.Func messageFactory); - void Trace(string message, System.Exception exception); - void TraceFormat(string format, params object[] args); - void TraceFormat(System.Exception exception, string format, params object[] args); - void TraceFormat(System.IFormatProvider formatProvider, string format, params object[] args); - void TraceFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args); - void Warn(string message); - void Warn(System.Func messageFactory); - void Warn(string message, System.Exception exception); - void WarnFormat(string format, params object[] args); - void WarnFormat(System.Exception exception, string format, params object[] args); - void WarnFormat(System.IFormatProvider formatProvider, string format, params object[] args); - void WarnFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args); - } - public interface ILoggerFactory - { - Castle.Core.Logging.ILogger Create(System.Type type); - Castle.Core.Logging.ILogger Create(string name); - Castle.Core.Logging.ILogger Create(System.Type type, Castle.Core.Logging.LoggerLevel level); - Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level); - } - public abstract class LevelFilteredLogger : System.MarshalByRefObject, Castle.Core.Logging.ILogger - { - protected LevelFilteredLogger() { } - protected LevelFilteredLogger(string name) { } - protected LevelFilteredLogger(Castle.Core.Logging.LoggerLevel loggerLevel) { } - protected LevelFilteredLogger(string loggerName, Castle.Core.Logging.LoggerLevel loggerLevel) { } - public bool IsDebugEnabled { get; } - public bool IsErrorEnabled { get; } - public bool IsFatalEnabled { get; } - public bool IsInfoEnabled { get; } - public bool IsTraceEnabled { get; } - public bool IsWarnEnabled { get; } - public Castle.Core.Logging.LoggerLevel Level { get; set; } - public string Name { get; } - protected void ChangeName(string newName) { } - public abstract Castle.Core.Logging.ILogger CreateChildLogger(string loggerName); - public void Debug(string message) { } - public void Debug(System.Func messageFactory) { } - public void Debug(string message, System.Exception exception) { } - public void DebugFormat(string format, params object[] args) { } - public void DebugFormat(System.Exception exception, string format, params object[] args) { } - public void DebugFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void DebugFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Error(string message) { } - public void Error(System.Func messageFactory) { } - public void Error(string message, System.Exception exception) { } - public void ErrorFormat(string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, string format, params object[] args) { } - public void ErrorFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Fatal(string message) { } - public void Fatal(System.Func messageFactory) { } - public void Fatal(string message, System.Exception exception) { } - public void FatalFormat(string format, params object[] args) { } - public void FatalFormat(System.Exception exception, string format, params object[] args) { } - public void FatalFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void FatalFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Info(string message) { } - public void Info(System.Func messageFactory) { } - public void Info(string message, System.Exception exception) { } - public void InfoFormat(string format, params object[] args) { } - public void InfoFormat(System.Exception exception, string format, params object[] args) { } - public void InfoFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void InfoFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public override object InitializeLifetimeService() { } - protected abstract void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception); - public void Trace(string message) { } - public void Trace(System.Func messageFactory) { } - public void Trace(string message, System.Exception exception) { } - public void TraceFormat(string format, params object[] args) { } - public void TraceFormat(System.Exception exception, string format, params object[] args) { } - public void TraceFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void TraceFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Warn(string message) { } - public void Warn(System.Func messageFactory) { } - public void Warn(string message, System.Exception exception) { } - public void WarnFormat(string format, params object[] args) { } - public void WarnFormat(System.Exception exception, string format, params object[] args) { } - public void WarnFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void WarnFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - } - public class LoggerException : System.Exception - { - public LoggerException() { } - public LoggerException(string message) { } - public LoggerException(string message, System.Exception innerException) { } - protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - } - public enum LoggerLevel - { - Off = 0, - Fatal = 1, - Error = 2, - Warn = 3, - Info = 4, - Debug = 5, - Trace = 6, - } - public class NullLogFactory : Castle.Core.Logging.AbstractLoggerFactory - { - public NullLogFactory() { } - public override Castle.Core.Logging.ILogger Create(string name) { } - public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class NullLogger : Castle.Core.Logging.IExtendedLogger, Castle.Core.Logging.ILogger - { - public static readonly Castle.Core.Logging.NullLogger Instance; - public NullLogger() { } - public Castle.Core.Logging.IContextProperties GlobalProperties { get; } - public bool IsDebugEnabled { get; } - public bool IsErrorEnabled { get; } - public bool IsFatalEnabled { get; } - public bool IsInfoEnabled { get; } - public bool IsTraceEnabled { get; } - public bool IsWarnEnabled { get; } - public Castle.Core.Logging.IContextProperties ThreadProperties { get; } - public Castle.Core.Logging.IContextStacks ThreadStacks { get; } - public Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { } - public void Debug(string message) { } - public void Debug(System.Func messageFactory) { } - public void Debug(string message, System.Exception exception) { } - public void DebugFormat(string format, params object[] args) { } - public void DebugFormat(System.Exception exception, string format, params object[] args) { } - public void DebugFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void DebugFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Error(string message) { } - public void Error(System.Func messageFactory) { } - public void Error(string message, System.Exception exception) { } - public void ErrorFormat(string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, string format, params object[] args) { } - public void ErrorFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Fatal(string message) { } - public void Fatal(System.Func messageFactory) { } - public void Fatal(string message, System.Exception exception) { } - public void FatalFormat(string format, params object[] args) { } - public void FatalFormat(System.Exception exception, string format, params object[] args) { } - public void FatalFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void FatalFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Info(string message) { } - public void Info(System.Func messageFactory) { } - public void Info(string message, System.Exception exception) { } - public void InfoFormat(string format, params object[] args) { } - public void InfoFormat(System.Exception exception, string format, params object[] args) { } - public void InfoFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void InfoFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Trace(string message) { } - public void Trace(System.Func messageFactory) { } - public void Trace(string message, System.Exception exception) { } - public void TraceFormat(string format, params object[] args) { } - public void TraceFormat(System.Exception exception, string format, params object[] args) { } - public void TraceFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void TraceFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Warn(string message) { } - public void Warn(System.Func messageFactory) { } - public void Warn(string message, System.Exception exception) { } - public void WarnFormat(string format, params object[] args) { } - public void WarnFormat(System.Exception exception, string format, params object[] args) { } - public void WarnFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void WarnFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - } - public class StreamLogger : Castle.Core.Logging.LevelFilteredLogger, System.IDisposable - { - public StreamLogger(string name, System.IO.Stream stream) { } - public StreamLogger(string name, System.IO.Stream stream, System.Text.Encoding encoding) { } - public StreamLogger(string name, System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize) { } - protected StreamLogger(string name, System.IO.StreamWriter writer) { } - public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - protected override void Finalize() { } - protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { } - } - public class StreamLoggerFactory : Castle.Core.Logging.AbstractLoggerFactory - { - public StreamLoggerFactory() { } - public override Castle.Core.Logging.ILogger Create(string name) { } - public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class TraceLogger : Castle.Core.Logging.LevelFilteredLogger - { - public TraceLogger(string name) { } - public TraceLogger(string name, Castle.Core.Logging.LoggerLevel level) { } - public override Castle.Core.Logging.ILogger CreateChildLogger(string loggerName) { } - protected override void Log(Castle.Core.Logging.LoggerLevel loggerLevel, string loggerName, string message, System.Exception exception) { } - } - public class TraceLoggerFactory : Castle.Core.Logging.AbstractLoggerFactory - { - public TraceLoggerFactory() { } - public TraceLoggerFactory(Castle.Core.Logging.LoggerLevel level) { } - public override Castle.Core.Logging.ILogger Create(string name) { } - public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } -} -namespace Castle.Core.Resource -{ - public abstract class AbstractResource : Castle.Core.Resource.IResource, System.IDisposable - { - protected static readonly string DefaultBasePath; - protected AbstractResource() { } - public virtual string FileBasePath { get; } - public abstract Castle.Core.Resource.IResource CreateRelative(string relativePath); - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - public abstract System.IO.TextReader GetStreamReader(); - public abstract System.IO.TextReader GetStreamReader(System.Text.Encoding encoding); - } - public abstract class AbstractStreamResource : Castle.Core.Resource.AbstractResource - { - protected AbstractStreamResource() { } - public Castle.Core.Resource.StreamFactory CreateStream { get; set; } - protected override void Finalize() { } - public override System.IO.TextReader GetStreamReader() { } - public override System.IO.TextReader GetStreamReader(System.Text.Encoding encoding) { } - } - public class AssemblyBundleResource : Castle.Core.Resource.AbstractResource - { - public AssemblyBundleResource(Castle.Core.Resource.CustomUri resource) { } - public override Castle.Core.Resource.IResource CreateRelative(string relativePath) { } - public override System.IO.TextReader GetStreamReader() { } - public override System.IO.TextReader GetStreamReader(System.Text.Encoding encoding) { } - } - public class AssemblyResource : Castle.Core.Resource.AbstractStreamResource - { - public AssemblyResource(Castle.Core.Resource.CustomUri resource) { } - public AssemblyResource(Castle.Core.Resource.CustomUri resource, string basePath) { } - public AssemblyResource(string resource) { } - public override Castle.Core.Resource.IResource CreateRelative(string relativePath) { } - public override string ToString() { } - } - public class AssemblyResourceFactory : Castle.Core.Resource.IResourceFactory - { - public AssemblyResourceFactory() { } - public bool Accept(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri, string basePath) { } - } - public class ConfigResource : Castle.Core.Resource.AbstractResource - { - public ConfigResource() { } - public ConfigResource(Castle.Core.Resource.CustomUri uri) { } - public ConfigResource(string sectionName) { } - public override Castle.Core.Resource.IResource CreateRelative(string relativePath) { } - public override System.IO.TextReader GetStreamReader() { } - public override System.IO.TextReader GetStreamReader(System.Text.Encoding encoding) { } - public override string ToString() { } - } - public class ConfigResourceFactory : Castle.Core.Resource.IResourceFactory - { - public ConfigResourceFactory() { } - public bool Accept(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri, string basePath) { } - } - public sealed class CustomUri - { - public static readonly string SchemeDelimiter; - public static readonly string UriSchemeAssembly; - public static readonly string UriSchemeFile; - public CustomUri(string resourceIdentifier) { } - public string Host { get; } - public bool IsAssembly { get; } - public bool IsFile { get; } - public bool IsUnc { get; } - public string Path { get; } - public string Scheme { get; } - } - public class FileResource : Castle.Core.Resource.AbstractStreamResource - { - public FileResource(Castle.Core.Resource.CustomUri resource) { } - public FileResource(Castle.Core.Resource.CustomUri resource, string basePath) { } - public FileResource(string resourceName) { } - public FileResource(string resourceName, string basePath) { } - public override string FileBasePath { get; } - public override Castle.Core.Resource.IResource CreateRelative(string relativePath) { } - public override string ToString() { } - } - public class FileResourceFactory : Castle.Core.Resource.IResourceFactory - { - public FileResourceFactory() { } - public bool Accept(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri, string basePath) { } - } - public interface IResource : System.IDisposable - { - string FileBasePath { get; } - Castle.Core.Resource.IResource CreateRelative(string relativePath); - System.IO.TextReader GetStreamReader(); - System.IO.TextReader GetStreamReader(System.Text.Encoding encoding); - } - public interface IResourceFactory - { - bool Accept(Castle.Core.Resource.CustomUri uri); - Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri); - Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri, string basePath); - } - public class ResourceException : System.Exception - { - public ResourceException() { } - public ResourceException(string message) { } - public ResourceException(string message, System.Exception innerException) { } - protected ResourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - } - public class StaticContentResource : Castle.Core.Resource.AbstractResource - { - public StaticContentResource(string contents) { } - public override Castle.Core.Resource.IResource CreateRelative(string relativePath) { } - public override System.IO.TextReader GetStreamReader() { } - public override System.IO.TextReader GetStreamReader(System.Text.Encoding encoding) { } - } - public delegate System.IO.Stream StreamFactory(); - public class UncResource : Castle.Core.Resource.AbstractStreamResource - { - public UncResource(Castle.Core.Resource.CustomUri resource) { } - public UncResource(Castle.Core.Resource.CustomUri resource, string basePath) { } - public UncResource(string resourceName) { } - public UncResource(string resourceName, string basePath) { } - public override string FileBasePath { get; } - public override Castle.Core.Resource.IResource CreateRelative(string relativePath) { } - public override string ToString() { } - } - public class UncResourceFactory : Castle.Core.Resource.IResourceFactory - { - public UncResourceFactory() { } - public bool Accept(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri) { } - public Castle.Core.Resource.IResource Create(Castle.Core.Resource.CustomUri uri, string basePath) { } - } -} -namespace Castle.Core.Smtp -{ - public class DefaultSmtpSender : Castle.Core.Smtp.IEmailSender - { - public DefaultSmtpSender() { } - public DefaultSmtpSender(string hostname) { } - public bool AsyncSend { get; set; } - public string Domain { get; set; } - public string Hostname { get; } - public string Password { get; set; } - public int Port { get; set; } - public int Timeout { get; set; } - public bool UseSsl { get; set; } - public string UserName { get; set; } - protected virtual void Configure(System.Net.Mail.SmtpClient smtpClient) { } - public void Send(string from, string to, string subject, string messageText) { } - public void Send(System.Net.Mail.MailMessage message) { } - public void Send(System.Collections.Generic.IEnumerable messages) { } - } - public interface IEmailSender - { - void Send(string from, string to, string subject, string messageText); - void Send(System.Net.Mail.MailMessage message); - void Send(System.Collections.Generic.IEnumerable messages); - } -} -namespace Castle.DynamicProxy -{ - public abstract class AbstractInvocation : Castle.DynamicProxy.IInvocation - { - protected readonly object proxyObject; - protected AbstractInvocation(object proxy, Castle.DynamicProxy.IInterceptor[] interceptors, System.Reflection.MethodInfo proxiedMethod, object[] arguments) { } - public object[] Arguments { get; } - public System.Type[] GenericArguments { get; } - public abstract object InvocationTarget { get; } - public System.Reflection.MethodInfo Method { get; } - public abstract System.Reflection.MethodInfo MethodInvocationTarget { get; } - public object Proxy { get; } - public object ReturnValue { get; set; } - public abstract System.Type TargetType { get; } - public Castle.DynamicProxy.IInvocationProceedInfo CaptureProceedInfo() { } - public object GetArgumentValue(int index) { } - public System.Reflection.MethodInfo GetConcreteMethod() { } - public System.Reflection.MethodInfo GetConcreteMethodInvocationTarget() { } - protected abstract void InvokeMethodOnTarget(); - public void Proceed() { } - public void SetArgumentValue(int index, object value) { } - public void SetGenericMethodArguments(System.Type[] arguments) { } - protected void ThrowOnNoTarget() { } - } - public class AllMethodsHook : Castle.DynamicProxy.IProxyGenerationHook - { - protected static readonly System.Collections.Generic.ICollection SkippedTypes; - public AllMethodsHook() { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public virtual void MethodsInspected() { } - public virtual void NonProxyableMemberNotification(System.Type type, System.Reflection.MemberInfo memberInfo) { } - public virtual bool ShouldInterceptMethod(System.Type type, System.Reflection.MethodInfo methodInfo) { } - } - public class CustomAttributeInfo : System.IEquatable - { - public CustomAttributeInfo(System.Reflection.ConstructorInfo constructor, object[] constructorArgs, System.Reflection.PropertyInfo[] namedProperties, object[] propertyValues, System.Reflection.FieldInfo[] namedFields, object[] fieldValues) { } - public CustomAttributeInfo(System.Reflection.ConstructorInfo constructor, object[] constructorArgs, System.Reflection.PropertyInfo[] namedProperties, object[] propertyValues) { } - public CustomAttributeInfo(System.Reflection.ConstructorInfo constructor, object[] constructorArgs, System.Reflection.FieldInfo[] namedFields, object[] fieldValues) { } - public CustomAttributeInfo(System.Reflection.ConstructorInfo constructor, object[] constructorArgs) { } - public bool Equals(Castle.DynamicProxy.CustomAttributeInfo other) { } - public override bool Equals(object obj) { } - public static Castle.DynamicProxy.CustomAttributeInfo FromExpression(System.Linq.Expressions.Expression> expression) { } - public override int GetHashCode() { } - } - public class DefaultProxyBuilder : Castle.DynamicProxy.IProxyBuilder - { - public DefaultProxyBuilder() { } - public DefaultProxyBuilder(Castle.DynamicProxy.ModuleScope scope) { } - public Castle.Core.Logging.ILogger Logger { get; set; } - public Castle.DynamicProxy.ModuleScope ModuleScope { get; } - public System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public System.Type CreateInterfaceProxyTypeWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, System.Type targetType, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public System.Type CreateInterfaceProxyTypeWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public System.Type CreateInterfaceProxyTypeWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - } - public interface IChangeProxyTarget - { - void ChangeInvocationTarget(object target); - [System.ObsoleteAttribute("Use ((IProxyTargetAccessor)invocation.Proxy).DynProxySetTarget(target) instead.")] - void ChangeProxyTarget(object target); - } - public interface IInterceptor - { - void Intercept(Castle.DynamicProxy.IInvocation invocation); - } - public interface IInterceptorSelector - { - Castle.DynamicProxy.IInterceptor[] SelectInterceptors(System.Type type, System.Reflection.MethodInfo method, Castle.DynamicProxy.IInterceptor[] interceptors); - } - public interface IInvocation - { - object[] Arguments { get; } - System.Type[] GenericArguments { get; } - object InvocationTarget { get; } - System.Reflection.MethodInfo Method { get; } - System.Reflection.MethodInfo MethodInvocationTarget { get; } - object Proxy { get; } - object ReturnValue { get; set; } - System.Type TargetType { get; } - Castle.DynamicProxy.IInvocationProceedInfo CaptureProceedInfo(); - object GetArgumentValue(int index); - System.Reflection.MethodInfo GetConcreteMethod(); - System.Reflection.MethodInfo GetConcreteMethodInvocationTarget(); - void Proceed(); - void SetArgumentValue(int index, object value); - } - public interface IInvocationProceedInfo - { - void Invoke(); - } - public interface IProxyBuilder - { - Castle.Core.Logging.ILogger Logger { get; set; } - Castle.DynamicProxy.ModuleScope ModuleScope { get; } - System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options); - System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options); - System.Type CreateInterfaceProxyTypeWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, System.Type targetType, Castle.DynamicProxy.ProxyGenerationOptions options); - System.Type CreateInterfaceProxyTypeWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options); - System.Type CreateInterfaceProxyTypeWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options); - } - public interface IProxyGenerationHook - { - void MethodsInspected(); - void NonProxyableMemberNotification(System.Type type, System.Reflection.MemberInfo memberInfo); - bool ShouldInterceptMethod(System.Type type, System.Reflection.MethodInfo methodInfo); - } - [System.CLSCompliantAttribute(true)] - public interface IProxyGenerator - { - Castle.Core.Logging.ILogger Logger { get; set; } - Castle.DynamicProxy.IProxyBuilder ProxyBuilder { get; } - TClass CreateClassProxy(params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class; - TClass CreateClassProxy(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class; - object CreateClassProxy(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxy(System.Type classToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxy(System.Type classToProxy, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxy(System.Type classToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxy(System.Type classToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxy(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxy(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors); - TClass CreateClassProxyWithTarget(TClass target, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class; - TClass CreateClassProxyWithTarget(TClass target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class; - object CreateClassProxyWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxyWithTarget(System.Type classToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxyWithTarget(System.Type classToProxy, object target, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxyWithTarget(System.Type classToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxyWithTarget(System.Type classToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxyWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateClassProxyWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors); - TInterface CreateInterfaceProxyWithTarget(TInterface target, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class; - TInterface CreateInterfaceProxyWithTarget(TInterface target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class; - object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors); - TInterface CreateInterfaceProxyWithTargetInterface(TInterface target, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class; - TInterface CreateInterfaceProxyWithTargetInterface(TInterface target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class; - object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - TInterface CreateInterfaceProxyWithoutTarget(Castle.DynamicProxy.IInterceptor interceptor) - where TInterface : class; - TInterface CreateInterfaceProxyWithoutTarget(params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class; - TInterface CreateInterfaceProxyWithoutTarget(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class; - object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, Castle.DynamicProxy.IInterceptor interceptor); - object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors); - } - public interface IProxyTargetAccessor - { - object DynProxyGetTarget(); - void DynProxySetTarget(object target); - Castle.DynamicProxy.IInterceptor[] GetInterceptors(); - } - public class InvalidMixinConfigurationException : System.Exception - { - public InvalidMixinConfigurationException(string message) { } - public InvalidMixinConfigurationException(string message, System.Exception innerException) { } - protected InvalidMixinConfigurationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - } - public class InvalidProxyConstructorArgumentsException : System.ArgumentException - { - public InvalidProxyConstructorArgumentsException(string message, System.Type proxyType, System.Type classToProxy) { } - public System.Type ClassToProxy { get; } - public System.Type ProxyType { get; } - } - public class MixinData - { - public MixinData(System.Collections.Generic.IEnumerable mixinInstances) { } - public System.Collections.Generic.IEnumerable MixinInterfaces { get; } - public System.Collections.Generic.IEnumerable Mixins { get; } - public bool ContainsMixin(System.Type mixinInterfaceType) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public object GetMixinInstance(System.Type mixinInterfaceType) { } - public int GetMixinPosition(System.Type mixinInterfaceType) { } - } - public class ModuleScope - { - public static readonly string DEFAULT_ASSEMBLY_NAME; - public static readonly string DEFAULT_FILE_NAME; - public ModuleScope() { } - public ModuleScope(bool savePhysicalAssembly) { } - public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule) { } - public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule, string strongAssemblyName, string strongModulePath, string weakAssemblyName, string weakModulePath) { } - public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule, Castle.DynamicProxy.Generators.INamingScope namingScope, string strongAssemblyName, string strongModulePath, string weakAssemblyName, string weakModulePath) { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - public Castle.Core.Internal.Lock Lock { get; } - public Castle.DynamicProxy.Generators.INamingScope NamingScope { get; } - public System.Reflection.Emit.ModuleBuilder StrongNamedModule { get; } - public string StrongNamedModuleDirectory { get; } - public string StrongNamedModuleName { get; } - public System.Reflection.Emit.ModuleBuilder WeakNamedModule { get; } - public string WeakNamedModuleDirectory { get; } - public string WeakNamedModuleName { get; } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - public System.Reflection.Emit.TypeBuilder DefineType(bool inSignedModulePreferably, string name, System.Reflection.TypeAttributes flags) { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - public System.Type GetFromCache(Castle.DynamicProxy.Generators.CacheKey key) { } - public static byte[] GetKeyPair() { } - public void LoadAssemblyIntoCache(System.Reflection.Assembly assembly) { } - public System.Reflection.Emit.ModuleBuilder ObtainDynamicModule(bool isStrongNamed) { } - public System.Reflection.Emit.ModuleBuilder ObtainDynamicModuleWithStrongName() { } - public System.Reflection.Emit.ModuleBuilder ObtainDynamicModuleWithWeakName() { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - public void RegisterInCache(Castle.DynamicProxy.Generators.CacheKey key, System.Type type) { } - public string SaveAssembly() { } - public string SaveAssembly(bool strongNamed) { } - } - public class PersistentProxyBuilder : Castle.DynamicProxy.DefaultProxyBuilder - { - public PersistentProxyBuilder() { } - public string SaveAssembly() { } - } - public class ProxyGenerationException : System.Exception - { - public ProxyGenerationException(string message) { } - public ProxyGenerationException(string message, System.Exception innerException) { } - } - public class ProxyGenerationOptions : System.Runtime.Serialization.ISerializable - { - public static readonly Castle.DynamicProxy.ProxyGenerationOptions Default; - public ProxyGenerationOptions(Castle.DynamicProxy.IProxyGenerationHook hook) { } - public ProxyGenerationOptions() { } - public System.Collections.Generic.IList AdditionalAttributes { get; } - public System.Type BaseTypeForInterfaceProxy { get; set; } - public bool HasMixins { get; } - public Castle.DynamicProxy.IProxyGenerationHook Hook { get; set; } - public Castle.DynamicProxy.MixinData MixinData { get; } - public Castle.DynamicProxy.IInterceptorSelector Selector { get; set; } - public void AddDelegateMixin(System.Delegate @delegate) { } - public void AddDelegateTypeMixin(System.Type delegateType) { } - public void AddMixinInstance(object instance) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public void Initialize() { } - public object[] MixinsAsArray() { } - } - [System.CLSCompliantAttribute(true)] - public class ProxyGenerator : Castle.DynamicProxy.IProxyGenerator - { - public ProxyGenerator(Castle.DynamicProxy.IProxyBuilder builder) { } - public ProxyGenerator() { } - public ProxyGenerator(bool disableSignedModule) { } - public Castle.Core.Logging.ILogger Logger { get; set; } - public Castle.DynamicProxy.IProxyBuilder ProxyBuilder { get; } - protected System.Collections.Generic.List BuildArgumentListForClassProxy(Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.IInterceptor[] interceptors) { } - protected System.Collections.Generic.List BuildArgumentListForClassProxyWithTarget(object target, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.IInterceptor[] interceptors) { } - protected void CheckNotGenericTypeDefinition(System.Type type, string argumentName) { } - protected void CheckNotGenericTypeDefinitions(System.Collections.Generic.IEnumerable types, string argumentName) { } - public TClass CreateClassProxy(params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class { } - public TClass CreateClassProxy(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class { } - public object CreateClassProxy(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxy(System.Type classToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxy(System.Type classToProxy, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxy(System.Type classToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxy(System.Type classToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxy(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public virtual object CreateClassProxy(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - protected object CreateClassProxyInstance(System.Type proxyType, System.Collections.Generic.List proxyArguments, System.Type classToProxy, object[] constructorArguments) { } - protected System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public TClass CreateClassProxyWithTarget(TClass target, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class { } - public TClass CreateClassProxyWithTarget(TClass target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TClass : class { } - public object CreateClassProxyWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxyWithTarget(System.Type classToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxyWithTarget(System.Type classToProxy, object target, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxyWithTarget(System.Type classToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxyWithTarget(System.Type classToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateClassProxyWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public virtual object CreateClassProxyWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - protected System.Type CreateInterfaceProxyTypeWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, System.Type targetType, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected System.Type CreateInterfaceProxyTypeWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected System.Type CreateInterfaceProxyTypeWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public TInterface CreateInterfaceProxyWithTarget(TInterface target, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class { } - public TInterface CreateInterfaceProxyWithTarget(TInterface target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class { } - public object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public virtual object CreateInterfaceProxyWithTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public TInterface CreateInterfaceProxyWithTargetInterface(TInterface target, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class { } - public TInterface CreateInterfaceProxyWithTargetInterface(TInterface target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class { } - public object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public virtual object CreateInterfaceProxyWithTargetInterface(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, object target, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public TInterface CreateInterfaceProxyWithoutTarget(Castle.DynamicProxy.IInterceptor interceptor) - where TInterface : class { } - public TInterface CreateInterfaceProxyWithoutTarget(params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class { } - public TInterface CreateInterfaceProxyWithoutTarget(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) - where TInterface : class { } - public object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, Castle.DynamicProxy.IInterceptor interceptor) { } - public object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - public virtual object CreateInterfaceProxyWithoutTarget(System.Type interfaceToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors) { } - protected System.Collections.Generic.List GetConstructorArguments(object target, Castle.DynamicProxy.IInterceptor[] interceptors, Castle.DynamicProxy.ProxyGenerationOptions options) { } - } - public class static ProxyUtil - { - public static TDelegate CreateDelegateToMixin(object proxy) { } - public static System.Delegate CreateDelegateToMixin(object proxy, System.Type delegateType) { } - public static object GetUnproxiedInstance(object instance) { } - public static System.Type GetUnproxiedType(object instance) { } - public static bool IsAccessible(System.Reflection.MethodBase method) { } - public static bool IsAccessible(System.Reflection.MethodBase method, out string message) { } - public static bool IsAccessible(System.Type type) { } - public static bool IsProxy(object instance) { } - public static bool IsProxyType(System.Type type) { } - } - public class StandardInterceptor : System.MarshalByRefObject, Castle.DynamicProxy.IInterceptor - { - public StandardInterceptor() { } - public void Intercept(Castle.DynamicProxy.IInvocation invocation) { } - protected virtual void PerformProceed(Castle.DynamicProxy.IInvocation invocation) { } - protected virtual void PostProceed(Castle.DynamicProxy.IInvocation invocation) { } - protected virtual void PreProceed(Castle.DynamicProxy.IInvocation invocation) { } - } -} -namespace Castle.DynamicProxy.Contributors -{ - public class ClassMembersCollector : Castle.DynamicProxy.Contributors.MembersCollector - { - public ClassMembersCollector(System.Type targetType) { } - protected override Castle.DynamicProxy.Generators.MetaMethod GetMethodToGenerate(System.Reflection.MethodInfo method, Castle.DynamicProxy.IProxyGenerationHook hook, bool isStandalone) { } - } - public class ClassProxyInstanceContributor : Castle.DynamicProxy.Contributors.ProxyInstanceContributor - { - public ClassProxyInstanceContributor(System.Type targetType, System.Collections.Generic.IList methodsToSkip, System.Type[] interfaces, string typeId) { } - protected override void AddAddValueInvocation(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference serializationInfo, Castle.DynamicProxy.Generators.Emitters.MethodEmitter getObjectData, Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference field) { } - protected override void CustomizeGetObjectData(Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder codebuilder, Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference serializationInfo, Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference streamingContext, Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - public override void Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected override Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference GetTargetReference(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - } - public class ClassProxyTargetContributor : Castle.DynamicProxy.Contributors.CompositeTypeContributor - { - public ClassProxyTargetContributor(System.Type targetType, System.Collections.Generic.IList methodsToSkip, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public class ClassProxyWithTargetTargetContributor : Castle.DynamicProxy.Contributors.CompositeTypeContributor - { - public ClassProxyWithTargetTargetContributor(System.Type targetType, System.Collections.Generic.IList methodsToSkip, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public abstract class CompositeTypeContributor : Castle.DynamicProxy.Contributors.ITypeContributor - { - protected readonly System.Collections.Generic.ICollection interfaces; - protected readonly Castle.DynamicProxy.Generators.INamingScope namingScope; - protected CompositeTypeContributor(Castle.DynamicProxy.Generators.INamingScope namingScope) { } - public Castle.Core.Logging.ILogger Logger { get; set; } - public void AddInterfaceToProxy(System.Type @interface) { } - public void CollectElementsToProxy(Castle.DynamicProxy.IProxyGenerationHook hook, Castle.DynamicProxy.Generators.MetaType model) { } - protected abstract System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook); - public virtual void Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected abstract Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod); - } - public class DelegateProxyTargetContributor : Castle.DynamicProxy.Contributors.CompositeTypeContributor - { - public DelegateProxyTargetContributor(System.Type targetType, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public class DelegateTypeGenerator : Castle.DynamicProxy.Generators.IGenerator - { - public DelegateTypeGenerator(Castle.DynamicProxy.Generators.MetaMethod method, System.Type targetType) { } - public Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class FieldReferenceComparer : System.Collections.Generic.IComparer - { - public FieldReferenceComparer() { } - public int Compare(System.Type x, System.Type y) { } - } - public class ForwardingMethodGenerator : Castle.DynamicProxy.Generators.MethodGenerator - { - public ForwardingMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod, Castle.DynamicProxy.Contributors.GetTargetReferenceDelegate getTargetReference) { } - protected override Castle.DynamicProxy.Generators.Emitters.MethodEmitter BuildProxiedMethodBody(Castle.DynamicProxy.Generators.Emitters.MethodEmitter emitter, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public delegate Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression GetTargetExpressionDelegate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, System.Reflection.MethodInfo method); - public delegate Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference GetTargetReferenceDelegate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, System.Reflection.MethodInfo method); - public interface ITypeContributor - { - void CollectElementsToProxy(Castle.DynamicProxy.IProxyGenerationHook hook, Castle.DynamicProxy.Generators.MetaType model); - void Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options); - } - public class InterfaceMembersCollector : Castle.DynamicProxy.Contributors.MembersCollector - { - public InterfaceMembersCollector(System.Type @interface) { } - protected override Castle.DynamicProxy.Generators.MetaMethod GetMethodToGenerate(System.Reflection.MethodInfo method, Castle.DynamicProxy.IProxyGenerationHook hook, bool isStandalone) { } - } - public class InterfaceMembersOnClassCollector : Castle.DynamicProxy.Contributors.MembersCollector - { - public InterfaceMembersOnClassCollector(System.Type type, bool onlyProxyVirtual, System.Reflection.InterfaceMapping map) { } - protected override Castle.DynamicProxy.Generators.MetaMethod GetMethodToGenerate(System.Reflection.MethodInfo method, Castle.DynamicProxy.IProxyGenerationHook hook, bool isStandalone) { } - } - public class InterfaceProxyInstanceContributor : Castle.DynamicProxy.Contributors.ProxyInstanceContributor - { - public InterfaceProxyInstanceContributor(System.Type targetType, string proxyGeneratorId, System.Type[] interfaces) { } - protected override void CustomizeGetObjectData(Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder codebuilder, Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference serializationInfo, Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference streamingContext, Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected override Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference GetTargetReference(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - } - public class InterfaceProxyTargetContributor : Castle.DynamicProxy.Contributors.CompositeTypeContributor - { - public InterfaceProxyTargetContributor(System.Type proxyTargetType, bool canChangeTarget, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected virtual Castle.DynamicProxy.Contributors.MembersCollector GetCollectorForInterface(System.Type @interface) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public class InterfaceProxyWithOptionalTargetContributor : Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor - { - public InterfaceProxyWithOptionalTargetContributor(Castle.DynamicProxy.Generators.INamingScope namingScope, Castle.DynamicProxy.Contributors.GetTargetExpressionDelegate getTarget, Castle.DynamicProxy.Contributors.GetTargetReferenceDelegate getTargetReference) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public class InterfaceProxyWithTargetInterfaceTargetContributor : Castle.DynamicProxy.Contributors.InterfaceProxyTargetContributor - { - public InterfaceProxyWithTargetInterfaceTargetContributor(System.Type proxyTargetType, bool allowChangeTarget, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override Castle.DynamicProxy.Contributors.MembersCollector GetCollectorForInterface(System.Type @interface) { } - } - public class InterfaceProxyWithoutTargetContributor : Castle.DynamicProxy.Contributors.CompositeTypeContributor - { - protected bool canChangeTarget; - public InterfaceProxyWithoutTargetContributor(Castle.DynamicProxy.Generators.INamingScope namingScope, Castle.DynamicProxy.Contributors.GetTargetExpressionDelegate getTarget) { } - protected override System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public class InvocationWithDelegateContributor : Castle.DynamicProxy.Generators.IInvocationCreationContributor - { - public InvocationWithDelegateContributor(System.Type delegateType, System.Type targetType, Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - public Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter CreateConstructor(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] baseCtorArguments, Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation) { } - public System.Reflection.MethodInfo GetCallbackMethod() { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.MethodInvocationExpression GetCallbackMethodInvocation(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetField, Castle.DynamicProxy.Generators.Emitters.MethodEmitter invokeMethodOnTarget) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] GetConstructorInvocationArguments(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] arguments, Castle.DynamicProxy.Generators.Emitters.ClassEmitter proxy) { } - } - public class InvocationWithGenericDelegateContributor : Castle.DynamicProxy.Generators.IInvocationCreationContributor - { - public InvocationWithGenericDelegateContributor(System.Type delegateType, Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetReference) { } - public Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter CreateConstructor(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] baseCtorArguments, Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation) { } - public System.Reflection.MethodInfo GetCallbackMethod() { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.MethodInvocationExpression GetCallbackMethodInvocation(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetField, Castle.DynamicProxy.Generators.Emitters.MethodEmitter invokeMethodOnTarget) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] GetConstructorInvocationArguments(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] arguments, Castle.DynamicProxy.Generators.Emitters.ClassEmitter proxy) { } - } - public abstract class MembersCollector - { - protected readonly System.Type type; - protected MembersCollector(System.Type type) { } - public System.Collections.Generic.IEnumerable Events { get; } - public Castle.Core.Logging.ILogger Logger { get; set; } - public System.Collections.Generic.IEnumerable Methods { get; } - public System.Collections.Generic.IEnumerable Properties { get; } - protected bool AcceptMethod(System.Reflection.MethodInfo method, bool onlyVirtuals, Castle.DynamicProxy.IProxyGenerationHook hook) { } - public virtual void CollectMembersToProxy(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected abstract Castle.DynamicProxy.Generators.MetaMethod GetMethodToGenerate(System.Reflection.MethodInfo method, Castle.DynamicProxy.IProxyGenerationHook hook, bool isStandalone); - } - public class MinimialisticMethodGenerator : Castle.DynamicProxy.Generators.MethodGenerator - { - public MinimialisticMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - protected override Castle.DynamicProxy.Generators.Emitters.MethodEmitter BuildProxiedMethodBody(Castle.DynamicProxy.Generators.Emitters.MethodEmitter emitter, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class MixinContributor : Castle.DynamicProxy.Contributors.CompositeTypeContributor - { - public MixinContributor(Castle.DynamicProxy.Generators.INamingScope namingScope, bool canChangeTarget) { } - public System.Collections.Generic.IEnumerable Fields { get; } - public void AddEmptyInterface(System.Type @interface) { } - protected override System.Collections.Generic.IEnumerable CollectElementsToProxyInternal(Castle.DynamicProxy.IProxyGenerationHook hook) { } - public override void Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected override Castle.DynamicProxy.Generators.MethodGenerator GetMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - } - public class OptionallyForwardingMethodGenerator : Castle.DynamicProxy.Generators.MethodGenerator - { - public OptionallyForwardingMethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod, Castle.DynamicProxy.Contributors.GetTargetReferenceDelegate getTargetReference) { } - protected override Castle.DynamicProxy.Generators.Emitters.MethodEmitter BuildProxiedMethodBody(Castle.DynamicProxy.Generators.Emitters.MethodEmitter emitter, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public delegate Castle.DynamicProxy.Generators.Emitters.MethodEmitter OverrideMethodDelegate(string name, System.Reflection.MethodAttributes attributes, System.Reflection.MethodInfo methodToOverride); - public abstract class ProxyInstanceContributor : Castle.DynamicProxy.Contributors.ITypeContributor - { - protected readonly System.Type targetType; - protected ProxyInstanceContributor(System.Type targetType, System.Type[] interfaces, string proxyTypeId) { } - protected virtual void AddAddValueInvocation(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference serializationInfo, Castle.DynamicProxy.Generators.Emitters.MethodEmitter getObjectData, Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference field) { } - public void CollectElementsToProxy(Castle.DynamicProxy.IProxyGenerationHook hook, Castle.DynamicProxy.Generators.MetaType model) { } - protected abstract void CustomizeGetObjectData(Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder builder, Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference serializationInfo, Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference streamingContext, Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter); - public virtual void Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected abstract Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference GetTargetReference(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter); - protected void ImplementGetObjectData(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected void ImplementProxyTargetAccessor(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter, Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference interceptorsField) { } - } - public class WrappedClassMembersCollector : Castle.DynamicProxy.Contributors.ClassMembersCollector - { - public WrappedClassMembersCollector(System.Type type) { } - public override void CollectMembersToProxy(Castle.DynamicProxy.IProxyGenerationHook hook) { } - protected override Castle.DynamicProxy.Generators.MetaMethod GetMethodToGenerate(System.Reflection.MethodInfo method, Castle.DynamicProxy.IProxyGenerationHook hook, bool isStandalone) { } - protected bool IsGeneratedByTheCompiler(System.Reflection.FieldInfo field) { } - protected virtual bool IsOKToBeOnProxy(System.Reflection.FieldInfo field) { } - } -} -namespace Castle.DynamicProxy.Generators -{ - public class static AttributesToAvoidReplicating - { - public static void Add(System.Type attribute) { } - public static void Add() { } - public static bool Contains(System.Type attribute) { } - } - public abstract class BaseProxyGenerator - { - protected readonly System.Type targetType; - protected BaseProxyGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type targetType) { } - public Castle.Core.Logging.ILogger Logger { get; set; } - protected Castle.DynamicProxy.ProxyGenerationOptions ProxyGenerationOptions { get; set; } - protected Castle.DynamicProxy.ModuleScope Scope { get; } - protected void AddMapping(System.Type @interface, Castle.DynamicProxy.Contributors.ITypeContributor implementer, System.Collections.Generic.IDictionary mapping) { } - protected void AddMappingForISerializable(System.Collections.Generic.IDictionary typeImplementerMapping, Castle.DynamicProxy.Contributors.ITypeContributor instance) { } - protected void AddMappingNoCheck(System.Type @interface, Castle.DynamicProxy.Contributors.ITypeContributor implementer, System.Collections.Generic.IDictionary mapping) { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - protected void AddToCache(Castle.DynamicProxy.Generators.CacheKey key, System.Type type) { } - protected virtual Castle.DynamicProxy.Generators.Emitters.ClassEmitter BuildClassEmitter(string typeName, System.Type parentType, System.Collections.Generic.IEnumerable interfaces) { } - protected void CheckNotGenericTypeDefinition(System.Type type, string argumentName) { } - protected void CheckNotGenericTypeDefinitions(System.Collections.Generic.IEnumerable types, string argumentName) { } - protected void CompleteInitCacheMethod(Castle.DynamicProxy.Generators.Emitters.CodeBuilders.ConstructorCodeBuilder constCodeBuilder) { } - protected virtual void CreateFields(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected void CreateInterceptorsField(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference CreateOptionsField(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected void CreateSelectorField(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected virtual void CreateTypeAttributes(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - protected void EnsureOptionsOverrideEqualsAndGetHashCode(Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected void GenerateConstructor(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter, System.Reflection.ConstructorInfo baseConstructor, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference[] fields) { } - protected void GenerateConstructors(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter, System.Type baseType, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference[] fields) { } - protected void GenerateParameterlessConstructor(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter, System.Type baseClass, Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference interceptorField) { } - protected Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter GenerateStaticConstructor(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - protected System.Type GetFromCache(Castle.DynamicProxy.Generators.CacheKey key) { } - protected void HandleExplicitlyPassedProxyTargetAccessor(System.Collections.Generic.ICollection targetInterfaces, System.Collections.Generic.ICollection additionalInterfaces) { } - protected void InitializeStaticFields(System.Type builtType) { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - protected System.Type ObtainProxyType(Castle.DynamicProxy.Generators.CacheKey cacheKey, System.Func factory) { } - } - [System.ObsoleteAttribute("Intended for internal use only.")] - public class CacheKey - { - public CacheKey(System.Reflection.MemberInfo target, System.Type type, System.Type[] interfaces, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public CacheKey(System.Type target, System.Type[] interfaces, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - } - public class ClassProxyGenerator : Castle.DynamicProxy.Generators.BaseProxyGenerator - { - public ClassProxyGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type targetType) { } - public System.Type GenerateCode(System.Type[] interfaces, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected virtual System.Type GenerateType(string name, System.Type[] interfaces, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected virtual System.Collections.Generic.IEnumerable GetTypeImplementerMapping(System.Type[] interfaces, out System.Collections.Generic.IEnumerable contributors, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class ClassProxyWithTargetGenerator : Castle.DynamicProxy.Generators.BaseProxyGenerator - { - public ClassProxyWithTargetGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { } - public System.Type GetGeneratedType() { } - protected virtual System.Collections.Generic.IEnumerable GetTypeImplementerMapping(out System.Collections.Generic.IEnumerable contributors, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class CompositionInvocationTypeGenerator : Castle.DynamicProxy.Generators.InvocationTypeGenerator - { - public static readonly System.Type BaseType; - public CompositionInvocationTypeGenerator(System.Type target, Castle.DynamicProxy.Generators.MetaMethod method, System.Reflection.MethodInfo callback, bool canChangeTarget, Castle.DynamicProxy.Generators.IInvocationCreationContributor contributor) { } - protected override Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] GetBaseCtorArguments(System.Type targetFieldType, Castle.DynamicProxy.ProxyGenerationOptions proxyGenerationOptions, out System.Reflection.ConstructorInfo baseConstructor) { } - protected override System.Type GetBaseType() { } - protected override Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference GetTargetReference() { } - protected override void ImplementInvokeMethodOnTarget(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation, System.Reflection.ParameterInfo[] parameters, Castle.DynamicProxy.Generators.Emitters.MethodEmitter invokeMethodOnTarget, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetField) { } - } - public class DelegateMembersCollector : Castle.DynamicProxy.Contributors.MembersCollector - { - public DelegateMembersCollector(System.Type type) { } - protected override Castle.DynamicProxy.Generators.MetaMethod GetMethodToGenerate(System.Reflection.MethodInfo method, Castle.DynamicProxy.IProxyGenerationHook hook, bool isStandalone) { } - } - public class DelegateProxyGenerationHook : Castle.DynamicProxy.IProxyGenerationHook - { - public DelegateProxyGenerationHook() { } - public override bool Equals(object obj) { } - public override int GetHashCode() { } - public void MethodsInspected() { } - public void NonProxyableMemberNotification(System.Type type, System.Reflection.MemberInfo memberInfo) { } - public bool ShouldInterceptMethod(System.Type type, System.Reflection.MethodInfo methodInfo) { } - } - public class DelegateProxyGenerator : Castle.DynamicProxy.Generators.BaseProxyGenerator - { - public DelegateProxyGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type delegateType) { } - public System.Type GetProxyType() { } - protected virtual System.Collections.Generic.IEnumerable GetTypeImplementerMapping(out System.Collections.Generic.IEnumerable contributors, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class GeneratorException : System.Exception - { - public GeneratorException(string message) { } - public GeneratorException(string message, System.Exception innerException) { } - public GeneratorException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - } - public class static GeneratorUtil - { - public static void CopyOutAndRefParameters(Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference[] dereferencedArguments, Castle.DynamicProxy.Generators.Emitters.SimpleAST.LocalReference invocation, System.Reflection.MethodInfo method, Castle.DynamicProxy.Generators.Emitters.MethodEmitter emitter) { } - } - public interface IGenerator - { - T Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope); - } - public interface IInvocationCreationContributor - { - Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter CreateConstructor(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] baseCtorArguments, Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation); - System.Reflection.MethodInfo GetCallbackMethod(); - Castle.DynamicProxy.Generators.Emitters.SimpleAST.MethodInvocationExpression GetCallbackMethodInvocation(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetField, Castle.DynamicProxy.Generators.Emitters.MethodEmitter invokeMethodOnTarget); - Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] GetConstructorInvocationArguments(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] arguments, Castle.DynamicProxy.Generators.Emitters.ClassEmitter proxy); - } - public interface INamingScope - { - Castle.DynamicProxy.Generators.INamingScope ParentScope { get; } - string GetUniqueName(string suggestedName); - Castle.DynamicProxy.Generators.INamingScope SafeSubScope(); - } - public class InheritanceInvocationTypeGenerator : Castle.DynamicProxy.Generators.InvocationTypeGenerator - { - public static readonly System.Type BaseType; - public InheritanceInvocationTypeGenerator(System.Type targetType, Castle.DynamicProxy.Generators.MetaMethod method, System.Reflection.MethodInfo callback, Castle.DynamicProxy.Generators.IInvocationCreationContributor contributor) { } - protected override Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] GetBaseCtorArguments(System.Type targetFieldType, Castle.DynamicProxy.ProxyGenerationOptions proxyGenerationOptions, out System.Reflection.ConstructorInfo baseConstructor) { } - protected override System.Type GetBaseType() { } - protected override Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference GetTargetReference() { } - } - public class InterfaceProxyWithTargetGenerator : Castle.DynamicProxy.Generators.BaseProxyGenerator - { - protected Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference targetField; - public InterfaceProxyWithTargetGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type @interface) { } - protected virtual bool AllowChangeTarget { get; } - protected virtual string GeneratorType { get; } - protected virtual Castle.DynamicProxy.Contributors.ITypeContributor AddMappingForTargetType(System.Collections.Generic.IDictionary typeImplementerMapping, System.Type proxyTargetType, System.Collections.Generic.ICollection targetInterfaces, System.Collections.Generic.ICollection additionalInterfaces, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override void CreateTypeAttributes(Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter) { } - public System.Type GenerateCode(System.Type proxyTargetType, System.Type[] interfaces, Castle.DynamicProxy.ProxyGenerationOptions options) { } - protected virtual System.Type GenerateType(string typeName, System.Type proxyTargetType, System.Type[] interfaces, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected virtual Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor GetContributorForAdditionalInterfaces(Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected virtual System.Collections.Generic.IEnumerable GetTypeImplementerMapping(System.Type[] interfaces, System.Type proxyTargetType, out System.Collections.Generic.IEnumerable contributors, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected virtual System.Type Init(string typeName, out Castle.DynamicProxy.Generators.Emitters.ClassEmitter emitter, System.Type proxyTargetType, out Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference interceptorsField, System.Collections.Generic.IEnumerable interfaces) { } - } - public class InterfaceProxyWithTargetInterfaceGenerator : Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator - { - public InterfaceProxyWithTargetInterfaceGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type @interface) { } - protected override bool AllowChangeTarget { get; } - protected override string GeneratorType { get; } - protected override Castle.DynamicProxy.Contributors.ITypeContributor AddMappingForTargetType(System.Collections.Generic.IDictionary typeImplementerMapping, System.Type proxyTargetType, System.Collections.Generic.ICollection targetInterfaces, System.Collections.Generic.ICollection additionalInterfaces, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor GetContributorForAdditionalInterfaces(Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class InterfaceProxyWithoutTargetGenerator : Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator - { - public InterfaceProxyWithoutTargetGenerator(Castle.DynamicProxy.ModuleScope scope, System.Type @interface) { } - protected override string GeneratorType { get; } - protected override Castle.DynamicProxy.Contributors.ITypeContributor AddMappingForTargetType(System.Collections.Generic.IDictionary interfaceTypeImplementerMapping, System.Type proxyTargetType, System.Collections.Generic.ICollection targetInterfaces, System.Collections.Generic.ICollection additionalInterfaces, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override System.Type GenerateType(string typeName, System.Type proxyTargetType, System.Type[] interfaces, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public abstract class InvocationTypeGenerator : Castle.DynamicProxy.Generators.IGenerator - { - protected readonly Castle.DynamicProxy.Generators.MetaMethod method; - protected readonly System.Type targetType; - protected InvocationTypeGenerator(System.Type targetType, Castle.DynamicProxy.Generators.MetaMethod method, System.Reflection.MethodInfo callback, bool canChangeTarget, Castle.DynamicProxy.Generators.IInvocationCreationContributor contributor) { } - public Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected abstract Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] GetBaseCtorArguments(System.Type targetFieldType, Castle.DynamicProxy.ProxyGenerationOptions proxyGenerationOptions, out System.Reflection.ConstructorInfo baseConstructor); - protected abstract System.Type GetBaseType(); - protected virtual Castle.DynamicProxy.Generators.Emitters.SimpleAST.MethodInvocationExpression GetCallbackMethodInvocation(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args, System.Reflection.MethodInfo callbackMethod, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetField, Castle.DynamicProxy.Generators.Emitters.MethodEmitter invokeMethodOnTarget) { } - protected abstract Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference GetTargetReference(); - protected virtual void ImplementInvokeMethodOnTarget(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter invocation, System.Reflection.ParameterInfo[] parameters, Castle.DynamicProxy.Generators.Emitters.MethodEmitter invokeMethodOnTarget, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetField) { } - } - public class MetaEvent : Castle.DynamicProxy.Generators.MetaTypeElement, System.IEquatable - { - public MetaEvent(string name, System.Type declaringType, System.Type eventDelegateType, Castle.DynamicProxy.Generators.MetaMethod adder, Castle.DynamicProxy.Generators.MetaMethod remover, System.Reflection.EventAttributes attributes) { } - public Castle.DynamicProxy.Generators.MetaMethod Adder { get; } - public System.Reflection.EventAttributes Attributes { get; } - public Castle.DynamicProxy.Generators.Emitters.EventEmitter Emitter { get; } - public Castle.DynamicProxy.Generators.MetaMethod Remover { get; } - public void BuildEventEmitter(Castle.DynamicProxy.Generators.Emitters.ClassEmitter classEmitter) { } - public override bool Equals(object obj) { } - public bool Equals(Castle.DynamicProxy.Generators.MetaEvent other) { } - public override int GetHashCode() { } - } - [System.Diagnostics.DebuggerDisplayAttribute("{Method}")] - public class MetaMethod : Castle.DynamicProxy.Generators.MetaTypeElement, System.IEquatable - { - public MetaMethod(System.Reflection.MethodInfo method, System.Reflection.MethodInfo methodOnTarget, bool standalone, bool proxyable, bool hasTarget) { } - public System.Reflection.MethodAttributes Attributes { get; } - public bool HasTarget { get; } - public System.Reflection.MethodInfo Method { get; } - public System.Reflection.MethodInfo MethodOnTarget { get; } - public string Name { get; } - public bool Proxyable { get; } - public bool Standalone { get; } - public bool Equals(Castle.DynamicProxy.Generators.MetaMethod other) { } - } - public class MetaProperty : Castle.DynamicProxy.Generators.MetaTypeElement, System.IEquatable - { - public MetaProperty(string name, System.Type propertyType, System.Type declaringType, Castle.DynamicProxy.Generators.MetaMethod getter, Castle.DynamicProxy.Generators.MetaMethod setter, System.Collections.Generic.IEnumerable customAttributes, System.Type[] arguments) { } - public System.Type[] Arguments { get; } - public bool CanRead { get; } - public bool CanWrite { get; } - public Castle.DynamicProxy.Generators.Emitters.PropertyEmitter Emitter { get; } - public System.Reflection.MethodInfo GetMethod { get; } - public Castle.DynamicProxy.Generators.MetaMethod Getter { get; } - public System.Reflection.MethodInfo SetMethod { get; } - public Castle.DynamicProxy.Generators.MetaMethod Setter { get; } - public void BuildPropertyEmitter(Castle.DynamicProxy.Generators.Emitters.ClassEmitter classEmitter) { } - public override bool Equals(object obj) { } - public bool Equals(Castle.DynamicProxy.Generators.MetaProperty other) { } - public override int GetHashCode() { } - } - public class MetaType - { - public MetaType() { } - public System.Collections.Generic.IEnumerable Events { get; } - public System.Collections.Generic.IEnumerable Methods { get; } - public System.Collections.Generic.IEnumerable Properties { get; } - public void AddEvent(Castle.DynamicProxy.Generators.MetaEvent @event) { } - public void AddMethod(Castle.DynamicProxy.Generators.MetaMethod method) { } - public void AddProperty(Castle.DynamicProxy.Generators.MetaProperty property) { } - } - public abstract class MetaTypeElement - { - protected readonly System.Type sourceType; - protected MetaTypeElement(System.Type sourceType) { } - } - public class MethodFinder - { - public MethodFinder() { } - public static System.Reflection.MethodInfo[] GetAllInstanceMethods(System.Type type, System.Reflection.BindingFlags flags) { } - } - public abstract class MethodGenerator : Castle.DynamicProxy.Generators.IGenerator - { - protected MethodGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Contributors.OverrideMethodDelegate overrideMethod) { } - protected System.Reflection.MethodInfo MethodOnTarget { get; } - protected System.Reflection.MethodInfo MethodToOverride { get; } - protected abstract Castle.DynamicProxy.Generators.Emitters.MethodEmitter BuildProxiedMethodBody(Castle.DynamicProxy.Generators.Emitters.MethodEmitter emitter, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope); - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter Generate(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class MethodSignatureComparer : System.Collections.Generic.IEqualityComparer - { - public static readonly Castle.DynamicProxy.Generators.MethodSignatureComparer Instance; - public MethodSignatureComparer() { } - public bool EqualGenericParameters(System.Reflection.MethodInfo x, System.Reflection.MethodInfo y) { } - public bool EqualParameters(System.Reflection.MethodInfo x, System.Reflection.MethodInfo y) { } - public bool EqualSignatureTypes(System.Type x, System.Type y) { } - public bool Equals(System.Reflection.MethodInfo x, System.Reflection.MethodInfo y) { } - public int GetHashCode(System.Reflection.MethodInfo obj) { } - } - public class MethodWithInvocationGenerator : Castle.DynamicProxy.Generators.MethodGenerator - { - public MethodWithInvocationGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference interceptors, System.Type invocation, Castle.DynamicProxy.Contributors.GetTargetExpressionDelegate getTargetExpression, Castle.DynamicProxy.Contributors.OverrideMethodDelegate createMethod, Castle.DynamicProxy.Generators.IInvocationCreationContributor contributor) { } - public MethodWithInvocationGenerator(Castle.DynamicProxy.Generators.MetaMethod method, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference interceptors, System.Type invocation, Castle.DynamicProxy.Contributors.GetTargetExpressionDelegate getTargetExpression, Castle.DynamicProxy.Contributors.GetTargetExpressionDelegate getTargetTypeExpression, Castle.DynamicProxy.Contributors.OverrideMethodDelegate createMethod, Castle.DynamicProxy.Generators.IInvocationCreationContributor contributor) { } - protected Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference BuildMethodInterceptorsField(Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, System.Reflection.MethodInfo method, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - protected override Castle.DynamicProxy.Generators.Emitters.MethodEmitter BuildProxiedMethodBody(Castle.DynamicProxy.Generators.Emitters.MethodEmitter emitter, Castle.DynamicProxy.Generators.Emitters.ClassEmitter @class, Castle.DynamicProxy.ProxyGenerationOptions options, Castle.DynamicProxy.Generators.INamingScope namingScope) { } - } - public class NamingScope : Castle.DynamicProxy.Generators.INamingScope - { - public NamingScope() { } - public Castle.DynamicProxy.Generators.INamingScope ParentScope { get; } - public string GetUniqueName(string suggestedName) { } - public Castle.DynamicProxy.Generators.INamingScope SafeSubScope() { } - } - public class TypeElementCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable - where TElement : Castle.DynamicProxy.Generators.MetaTypeElement, System.IEquatable - { - public TypeElementCollection() { } - public int Count { get; } - public void Add(TElement item) { } - public bool Contains(TElement item) { } - public System.Collections.Generic.IEnumerator GetEnumerator() { } - } -} -namespace Castle.DynamicProxy.Generators.Emitters -{ - public abstract class AbstractTypeEmitter - { - protected AbstractTypeEmitter(System.Reflection.Emit.TypeBuilder typeBuilder) { } - public System.Type BaseType { get; } - public Castle.DynamicProxy.Generators.Emitters.TypeConstructorEmitter ClassConstructor { get; } - public Castle.DynamicProxy.Generators.Emitters.ConstructorCollection Constructors { get; } - public System.Reflection.Emit.GenericTypeParameterBuilder[] GenericTypeParams { get; } - public Castle.DynamicProxy.Generators.Emitters.NestedClassCollection Nested { get; } - public System.Reflection.Emit.TypeBuilder TypeBuilder { get; } - public void AddCustomAttributes(Castle.DynamicProxy.ProxyGenerationOptions proxyGenerationOptions) { } - public virtual System.Type BuildType() { } - public void CopyGenericParametersFromMethod(System.Reflection.MethodInfo methodToCopyGenericsFrom) { } - public Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter CreateConstructor(params Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] arguments) { } - public void CreateDefaultConstructor() { } - public Castle.DynamicProxy.Generators.Emitters.EventEmitter CreateEvent(string name, System.Reflection.EventAttributes atts, System.Type type) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference CreateField(string name, System.Type fieldType) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference CreateField(string name, System.Type fieldType, bool serializable) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference CreateField(string name, System.Type fieldType, System.Reflection.FieldAttributes atts) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateMethod(string name, System.Reflection.MethodAttributes attrs, System.Type returnType, params System.Type[] argumentTypes) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateMethod(string name, System.Type returnType, params System.Type[] parameterTypes) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateMethod(string name, System.Reflection.MethodInfo methodToUseAsATemplate) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.MethodInfo methodToUseAsATemplate) { } - public Castle.DynamicProxy.Generators.Emitters.PropertyEmitter CreateProperty(string name, System.Reflection.PropertyAttributes attributes, System.Type propertyType, System.Type[] arguments) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference CreateStaticField(string name, System.Type fieldType) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference CreateStaticField(string name, System.Type fieldType, System.Reflection.FieldAttributes atts) { } - protected System.Type CreateType(System.Reflection.Emit.TypeBuilder type) { } - public Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter CreateTypeConstructor() { } - public void DefineCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder attribute) { } - public void DefineCustomAttribute(object[] constructorArguments) - where TAttribute : System.Attribute { } - public void DefineCustomAttribute() - where TAttribute : System.Attribute, new () { } - public void DefineCustomAttributeFor(Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference field) - where TAttribute : System.Attribute, new () { } - protected virtual void EnsureBuildersAreInAValidState() { } - public System.Collections.Generic.IEnumerable GetAllFields() { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference GetField(string name) { } - public System.Type GetGenericArgument(string genericArgumentName) { } - public System.Type[] GetGenericArgumentsFor(System.Type genericType) { } - public System.Type[] GetGenericArgumentsFor(System.Reflection.MethodInfo genericMethod) { } - public void SetGenericTypeParameters(System.Reflection.Emit.GenericTypeParameterBuilder[] genericTypeParameterBuilders) { } - } - public abstract class ArgumentsUtil - { - protected ArgumentsUtil() { } - public static Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] ConvertArgumentReferenceToExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] args) { } - public static Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] ConvertToArgumentReference(System.Type[] args) { } - public static Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] ConvertToArgumentReference(System.Reflection.ParameterInfo[] args) { } - public static Castle.DynamicProxy.Generators.Emitters.SimpleAST.ReferenceExpression[] ConvertToArgumentReferenceExpression(System.Reflection.ParameterInfo[] args) { } - public static void EmitLoadOwnerAndReference(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference reference, System.Reflection.Emit.ILGenerator il) { } - public static System.Type[] GetTypes(System.Reflection.ParameterInfo[] parameters) { } - public static System.Type[] InitializeAndConvert(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] args) { } - public static void InitializeArgumentsByPosition(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] args, bool isStatic) { } - [System.ObsoleteAttribute()] - public static bool IsAnyByRef(System.Reflection.ParameterInfo[] parameters) { } - } - public class ClassEmitter : Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter - { - public ClassEmitter(Castle.DynamicProxy.ModuleScope modulescope, string name, System.Type baseType, System.Collections.Generic.IEnumerable interfaces) { } - public ClassEmitter(Castle.DynamicProxy.ModuleScope modulescope, string name, System.Type baseType, System.Collections.Generic.IEnumerable interfaces, System.Reflection.TypeAttributes flags) { } - public ClassEmitter(Castle.DynamicProxy.ModuleScope modulescope, string name, System.Type baseType, System.Collections.Generic.IEnumerable interfaces, System.Reflection.TypeAttributes flags, bool forceUnsigned) { } - public ClassEmitter(System.Reflection.Emit.TypeBuilder typeBuilder) { } - public Castle.DynamicProxy.ModuleScope ModuleScope { get; } - protected virtual System.Collections.Generic.IEnumerable InitializeGenericArgumentsFromBases(ref System.Type baseType, System.Collections.Generic.IEnumerable interfaces) { } - } - public class ConstructorCollection : System.Collections.ObjectModel.Collection - { - public ConstructorCollection() { } - } - public class ConstructorEmitter : Castle.DynamicProxy.Generators.Emitters.IMemberEmitter - { - protected ConstructorEmitter(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter maintype, System.Reflection.Emit.ConstructorBuilder builder) { } - public virtual Castle.DynamicProxy.Generators.Emitters.CodeBuilders.ConstructorCodeBuilder CodeBuilder { get; } - public System.Reflection.Emit.ConstructorBuilder ConstructorBuilder { get; } - public System.Reflection.MemberInfo Member { get; } - public System.Type ReturnType { get; } - public virtual void EnsureValidCodeBlock() { } - public virtual void Generate() { } - } - public class EventCollection : System.Collections.ObjectModel.Collection - { - public EventCollection() { } - } - public class EventEmitter : Castle.DynamicProxy.Generators.Emitters.IMemberEmitter - { - public EventEmitter(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter typeEmitter, string name, System.Reflection.EventAttributes attributes, System.Type type) { } - public System.Reflection.MemberInfo Member { get; } - public System.Type ReturnType { get; } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateAddMethod(string addMethodName, System.Reflection.MethodAttributes attributes, System.Reflection.MethodInfo methodToOverride) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateRemoveMethod(string removeMethodName, System.Reflection.MethodAttributes attributes, System.Reflection.MethodInfo methodToOverride) { } - public void EnsureValidCodeBlock() { } - public void Generate() { } - } - public interface IMemberEmitter - { - System.Reflection.MemberInfo Member { get; } - System.Type ReturnType { get; } - void EnsureValidCodeBlock(); - void Generate(); - } - public sealed class LdcOpCodesDictionary : System.Collections.Generic.Dictionary - { - public static System.Reflection.Emit.OpCode EmptyOpCode { get; } - public static Castle.DynamicProxy.Generators.Emitters.LdcOpCodesDictionary Instance { get; } - public System.Reflection.Emit.OpCode this[System.Type type] { get; } - } - public sealed class LdindOpCodesDictionary : System.Collections.Generic.Dictionary - { - public static System.Reflection.Emit.OpCode EmptyOpCode { get; } - public static Castle.DynamicProxy.Generators.Emitters.LdindOpCodesDictionary Instance { get; } - public System.Reflection.Emit.OpCode this[System.Type type] { get; } - } - public class MethodCollection : System.Collections.ObjectModel.Collection - { - public MethodCollection() { } - } - [System.Diagnostics.DebuggerDisplayAttribute("{builder.Name}")] - public class MethodEmitter : Castle.DynamicProxy.Generators.Emitters.IMemberEmitter - { - protected MethodEmitter(System.Reflection.Emit.MethodBuilder builder) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] Arguments { get; } - public virtual Castle.DynamicProxy.Generators.Emitters.CodeBuilders.MethodCodeBuilder CodeBuilder { get; } - public System.Reflection.Emit.GenericTypeParameterBuilder[] GenericTypeParams { get; } - public System.Reflection.MemberInfo Member { get; } - public System.Reflection.Emit.MethodBuilder MethodBuilder { get; } - public System.Type ReturnType { get; } - public void DefineCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder attribute) { } - public virtual void EnsureValidCodeBlock() { } - public virtual void Generate() { } - public void SetParameters(System.Type[] paramTypes) { } - } - public class NestedClassCollection : System.Collections.ObjectModel.Collection - { - public NestedClassCollection() { } - } - public class NestedClassEmitter : Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter - { - public NestedClassEmitter(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter maintype, string name, System.Type baseType, System.Type[] interfaces) { } - public NestedClassEmitter(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter maintype, string name, System.Reflection.TypeAttributes attributes, System.Type baseType, System.Type[] interfaces) { } - public NestedClassEmitter(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter maintype, System.Reflection.Emit.TypeBuilder typeBuilder) { } - } - public class PropertiesCollection : System.Collections.ObjectModel.Collection - { - public PropertiesCollection() { } - } - public class PropertyEmitter : Castle.DynamicProxy.Generators.Emitters.IMemberEmitter - { - public PropertyEmitter(Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter parentTypeEmitter, string name, System.Reflection.PropertyAttributes attributes, System.Type propertyType, System.Type[] arguments) { } - public System.Reflection.MemberInfo Member { get; } - public System.Type ReturnType { get; } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateGetMethod(string name, System.Reflection.MethodAttributes attrs, System.Reflection.MethodInfo methodToOverride, params System.Type[] parameters) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateGetMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.MethodInfo methodToOverride) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateSetMethod(string name, System.Reflection.MethodAttributes attrs, System.Reflection.MethodInfo methodToOverride, params System.Type[] parameters) { } - public Castle.DynamicProxy.Generators.Emitters.MethodEmitter CreateSetMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.MethodInfo methodToOverride) { } - public void DefineCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder attribute) { } - public void EnsureValidCodeBlock() { } - public void Generate() { } - } - public sealed class StindOpCodesDictionary : System.Collections.Generic.Dictionary - { - public static System.Reflection.Emit.OpCode EmptyOpCode { get; } - public static Castle.DynamicProxy.Generators.Emitters.StindOpCodesDictionary Instance { get; } - public System.Reflection.Emit.OpCode this[System.Type type] { get; } - } - public class static StrongNameUtil - { - public static bool CanStrongNameAssembly { get; set; } - public static bool IsAnyTypeFromUnsignedAssembly(System.Collections.Generic.IEnumerable types) { } - public static bool IsAnyTypeFromUnsignedAssembly(System.Type baseType, System.Collections.Generic.IEnumerable interfaces) { } - public static bool IsAssemblySigned(this System.Reflection.Assembly assembly) { } - } - public class TypeConstructorEmitter : Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter - { - public override void EnsureValidCodeBlock() { } - } -} -namespace Castle.DynamicProxy.Generators.Emitters.CodeBuilders -{ - public abstract class AbstractCodeBuilder - { - protected AbstractCodeBuilder(System.Reflection.Emit.ILGenerator generator) { } - public System.Reflection.Emit.ILGenerator Generator { get; } - public Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder AddExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression) { } - public Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder AddStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement stmt) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.LocalReference DeclareLocal(System.Type type) { } - public void SetNonEmpty() { } - } - public class ConstructorCodeBuilder : Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder - { - public ConstructorCodeBuilder(System.Type baseType, System.Reflection.Emit.ILGenerator generator) { } - public void InvokeBaseConstructor() { } - public void InvokeBaseConstructor(System.Reflection.ConstructorInfo constructor) { } - public void InvokeBaseConstructor(System.Reflection.ConstructorInfo constructor, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference[] arguments) { } - } - public class MethodCodeBuilder : Castle.DynamicProxy.Generators.Emitters.CodeBuilders.AbstractCodeBuilder - { - public MethodCodeBuilder(System.Reflection.Emit.ILGenerator generator) { } - } -} -namespace Castle.DynamicProxy.Generators.Emitters.SimpleAST -{ - public class AddressOfReferenceExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public AddressOfReferenceExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference reference) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("argument {Type}")] - public class ArgumentReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference - { - public ArgumentReference(System.Type argumentType) { } - public ArgumentReference(System.Type argumentType, int position) { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("{reference} as {type}")] - public class AsTypeReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference - { - public AsTypeReference(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference reference, System.Type type) { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - public class AssignArgumentStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public AssignArgumentStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ArgumentReference argument, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class AssignArrayStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public AssignArrayStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference targetArray, int targetPosition, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression value) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator il) { } - } - public class AssignStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public AssignStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference target, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class BindDelegateExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public BindDelegateExpression(System.Type @delegate, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression owner, System.Reflection.MethodInfo methodToBindTo, System.Reflection.Emit.GenericTypeParameterBuilder[] genericTypeParams) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("&{localReference}")] - public class ByRefReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference - { - public ByRefReference(Castle.DynamicProxy.Generators.Emitters.SimpleAST.LocalReference localReference) { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("{value}")] - public class ConstReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference - { - public ConstReference(object value) { } - public override void Generate(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - public class ConstructorInvocationStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public ConstructorInvocationStatement(System.Reflection.ConstructorInfo method, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class ConvertExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public ConvertExpression(System.Type targetType, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression right) { } - public ConvertExpression(System.Type targetType, System.Type fromType, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression right) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class DefaultValueExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public DefaultValueExpression(System.Type type) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class EndExceptionBlockStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public EndExceptionBlockStatement() { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public abstract class Expression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.IILEmitter - { - protected Expression() { } - public abstract void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen); - } - public class ExpressionStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public ExpressionStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("{fieldbuilder.Name} ({fieldbuilder.FieldType})")] - public class FieldReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference - { - public FieldReference(System.Reflection.FieldInfo field) { } - public FieldReference(System.Reflection.Emit.FieldBuilder fieldbuilder) { } - public System.Reflection.Emit.FieldBuilder Fieldbuilder { get; } - public System.Reflection.FieldInfo Reference { get; } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - public class FinallyStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public FinallyStatement() { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public interface IILEmitter - { - void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen); - } - public class IfNullExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public IfNullExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference reference, Castle.DynamicProxy.Generators.Emitters.SimpleAST.IILEmitter ifNull, Castle.DynamicProxy.Generators.Emitters.SimpleAST.IILEmitter ifNotNull = null) { } - public IfNullExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression, Castle.DynamicProxy.Generators.Emitters.SimpleAST.IILEmitter ifNull, Castle.DynamicProxy.Generators.Emitters.SimpleAST.IILEmitter ifNotNull = null) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("&{OwnerReference}")] - public class IndirectReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference - { - public IndirectReference(Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference byRefReference) { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - public static Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference WrapIfByRef(Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference reference) { } - public static Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference[] WrapIfByRef(Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference[] references) { } - } - public class LiteralIntExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public LiteralIntExpression(int value) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class LoadArrayElementExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public LoadArrayElementExpression(int index, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference arrayReference, System.Type returnType) { } - public LoadArrayElementExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ConstReference index, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference arrayReference, System.Type returnType) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class LoadRefArrayElementExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public LoadRefArrayElementExpression(int index, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference arrayReference) { } - public LoadRefArrayElementExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.ConstReference index, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference arrayReference) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("local {Type}")] - public class LocalReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference - { - public LocalReference(System.Type type) { } - public override void Generate(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - public class MethodInvocationExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - protected readonly Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args; - protected readonly System.Reflection.MethodInfo method; - protected readonly Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference owner; - public MethodInvocationExpression(System.Reflection.MethodInfo method, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public MethodInvocationExpression(Castle.DynamicProxy.Generators.Emitters.MethodEmitter method, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public MethodInvocationExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference owner, Castle.DynamicProxy.Generators.Emitters.MethodEmitter method, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public MethodInvocationExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference owner, System.Reflection.MethodInfo method, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public bool VirtualCall { get; set; } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class MethodTokenExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public MethodTokenExpression(System.Reflection.MethodInfo method) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class MultiStatementExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public MultiStatementExpression() { } - public void AddExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression) { } - public void AddStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement statement) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class NewArrayExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public NewArrayExpression(int size, System.Type arrayType) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class NewInstanceExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public NewInstanceExpression(System.Reflection.ConstructorInfo constructor, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public NewInstanceExpression(System.Type target, System.Type[] constructor_args, params Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression[] args) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class NopStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public NopStatement() { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class NullCoalescingOperatorExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public NullCoalescingOperatorExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression, Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression @default) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class NullExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public static readonly Castle.DynamicProxy.Generators.Emitters.SimpleAST.NullExpression Instance; - protected NullExpression() { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public abstract class Reference - { - protected Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference owner; - protected Reference() { } - protected Reference(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference owner) { } - public Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference OwnerReference { get; set; } - public virtual void Generate(System.Reflection.Emit.ILGenerator gen) { } - public abstract void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen); - public abstract void LoadReference(System.Reflection.Emit.ILGenerator gen); - public abstract void StoreReference(System.Reflection.Emit.ILGenerator gen); - public virtual Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression ToAddressOfExpression() { } - public virtual Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression ToExpression() { } - } - public class ReferenceExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public ReferenceExpression(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference reference) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class ReferencesToObjectArrayExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public ReferencesToObjectArrayExpression(params Castle.DynamicProxy.Generators.Emitters.SimpleAST.TypeReference[] args) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class ReturnStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public ReturnStatement() { } - public ReturnStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference reference) { } - public ReturnStatement(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression expression) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - [System.Diagnostics.DebuggerDisplayAttribute("this")] - public class SelfReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference - { - public static readonly Castle.DynamicProxy.Generators.Emitters.SimpleAST.SelfReference Self; - protected SelfReference() { } - public override void LoadAddressOfReference(System.Reflection.Emit.ILGenerator gen) { } - public override void LoadReference(System.Reflection.Emit.ILGenerator gen) { } - public override void StoreReference(System.Reflection.Emit.ILGenerator gen) { } - } - public abstract class Statement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.IILEmitter - { - protected Statement() { } - public abstract void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen); - } - public class ThrowStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public ThrowStatement(System.Type exceptionType, string errorMessage) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public class TryStatement : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Statement - { - public TryStatement() { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } - public abstract class TypeReference : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference - { - protected TypeReference(System.Type argumentType) { } - protected TypeReference(Castle.DynamicProxy.Generators.Emitters.SimpleAST.Reference owner, System.Type type) { } - public System.Type Type { get; } - } - public class TypeTokenExpression : Castle.DynamicProxy.Generators.Emitters.SimpleAST.Expression - { - public TypeTokenExpression(System.Type type) { } - public override void Emit(Castle.DynamicProxy.Generators.Emitters.IMemberEmitter member, System.Reflection.Emit.ILGenerator gen) { } - } -} -namespace Castle.DynamicProxy.Internal -{ - public class static AttributeUtil - { - public static Castle.DynamicProxy.CustomAttributeInfo CreateInfo(System.Reflection.CustomAttributeData attribute) { } - public static Castle.DynamicProxy.CustomAttributeInfo CreateInfo() - where TAttribute : System.Attribute, new () { } - public static Castle.DynamicProxy.CustomAttributeInfo CreateInfo(System.Type attribute, object[] constructorArguments) { } - public static System.Collections.Generic.IEnumerable GetNonInheritableAttributes(this System.Reflection.MemberInfo member) { } - public static System.Collections.Generic.IEnumerable GetNonInheritableAttributes(this System.Reflection.ParameterInfo parameter) { } - } - public abstract class CompositionInvocation : Castle.DynamicProxy.AbstractInvocation - { - protected object target; - protected CompositionInvocation(object target, object proxy, Castle.DynamicProxy.IInterceptor[] interceptors, System.Reflection.MethodInfo proxiedMethod, object[] arguments) { } - public override object InvocationTarget { get; } - public override System.Reflection.MethodInfo MethodInvocationTarget { get; } - public override System.Type TargetType { get; } - protected void EnsureValidProxyTarget(object newTarget) { } - protected void EnsureValidTarget() { } - } - public abstract class InheritanceInvocation : Castle.DynamicProxy.AbstractInvocation - { - protected InheritanceInvocation(System.Type targetType, object proxy, Castle.DynamicProxy.IInterceptor[] interceptors, System.Reflection.MethodInfo proxiedMethod, object[] arguments) { } - public override object InvocationTarget { get; } - public override System.Reflection.MethodInfo MethodInvocationTarget { get; } - public override System.Type TargetType { get; } - protected virtual void InvokeMethodOnTarget() { } - } - public class static InternalsUtil - { - [System.ObsoleteAttribute("Use ProxyUtil.IsAccessible instead, which performs a more accurate accessibility " + - "check.")] - public static bool IsAccessible(this System.Reflection.MethodBase method) { } - [System.ObsoleteAttribute()] - public static bool IsInternal(this System.Reflection.MethodBase method) { } - [System.ObsoleteAttribute()] - public static bool IsInternalToDynamicProxy(this System.Reflection.Assembly asm) { } - } - public class static InvocationHelper - { - public static System.Reflection.MethodInfo GetMethodOnObject(object target, System.Reflection.MethodInfo proxiedMethod) { } - public static System.Reflection.MethodInfo GetMethodOnType(System.Type type, System.Reflection.MethodInfo proxiedMethod) { } - } - public class static TypeUtil - { - public static System.Type[] AsTypeArray(this System.Reflection.Emit.GenericTypeParameterBuilder[] typeInfos) { } - public static System.Reflection.FieldInfo[] GetAllFields(this System.Type type) { } - public static System.Type[] GetAllInterfaces(params System.Type[] types) { } - public static System.Type[] GetAllInterfaces(this System.Type type) { } - public static System.Type GetClosedParameterType(this Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter type, System.Type parameter) { } - public static System.Type GetTypeOrNull(object target) { } - public static bool IsFinalizer(this System.Reflection.MethodInfo methodInfo) { } - public static bool IsGetType(this System.Reflection.MethodInfo methodInfo) { } - public static bool IsMemberwiseClone(this System.Reflection.MethodInfo methodInfo) { } - public static bool IsNullableType(this System.Type type) { } - public static void SetStaticField(this System.Type type, string fieldName, System.Reflection.BindingFlags additionalFlags, object value) { } - public static System.Reflection.MemberInfo[] Sort(System.Reflection.MemberInfo[] members) { } - } -} -namespace Castle.DynamicProxy.Serialization -{ - [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.All, AllowMultiple=false)] - [System.CLSCompliantAttribute(false)] - public class CacheMappingsAttribute : System.Attribute - { - public CacheMappingsAttribute(byte[] serializedCacheMappings) { } - public byte[] SerializedCacheMappings { get; } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - public static void ApplyTo(System.Reflection.Emit.AssemblyBuilder assemblyBuilder, System.Collections.Generic.Dictionary mappings) { } - [System.ObsoleteAttribute("Exposes a component that is intended for internal use only.")] - public System.Collections.Generic.Dictionary GetDeserializedMappings() { } - } - public class ProxyObjectReference : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.IObjectReference, System.Runtime.Serialization.ISerializable - { - protected ProxyObjectReference(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static Castle.DynamicProxy.ModuleScope ModuleScope { get; } - public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public object GetRealObject(System.Runtime.Serialization.StreamingContext context) { } - protected void InvokeCallback(object target) { } - public void OnDeserialization(object sender) { } - public object RecreateClassProxy() { } - public object RecreateInterfaceProxy(string generatorType) { } - protected virtual object RecreateProxy() { } - public static void ResetScope() { } - public static void SetScope(Castle.DynamicProxy.ModuleScope scope) { } - } -} -namespace Castle.DynamicProxy.Tokens -{ - public class static DelegateMethods - { - public static readonly System.Reflection.MethodInfo CreateDelegate; - } - public class static FormatterServicesMethods - { - public static readonly System.Reflection.MethodInfo GetObjectData; - public static readonly System.Reflection.MethodInfo GetSerializableMembers; - } - public class static InterceptorSelectorMethods - { - public static readonly System.Reflection.MethodInfo SelectInterceptors; - } - public class static InvocationMethods - { - public static readonly System.Reflection.ConstructorInfo CompositionInvocationConstructor; - public static readonly System.Reflection.MethodInfo CompositionInvocationEnsureValidTarget; - public static readonly System.Reflection.FieldInfo CompositionInvocationTarget; - public static readonly System.Reflection.MethodInfo EnsureValidTarget; - public static readonly System.Reflection.MethodInfo GetArgumentValue; - public static readonly System.Reflection.MethodInfo GetArguments; - public static readonly System.Reflection.MethodInfo GetReturnValue; - public static readonly System.Reflection.ConstructorInfo InheritanceInvocationConstructor; - public static readonly System.Reflection.ConstructorInfo InheritanceInvocationConstructorWithSelector; - public static readonly System.Reflection.MethodInfo Proceed; - public static readonly System.Reflection.FieldInfo ProxyObject; - public static readonly System.Reflection.MethodInfo SetArgumentValue; - public static readonly System.Reflection.MethodInfo SetGenericMethodArguments; - public static readonly System.Reflection.MethodInfo SetReturnValue; - public static readonly System.Reflection.FieldInfo Target; - public static readonly System.Reflection.MethodInfo ThrowOnNoTarget; - } - public class static MethodBaseMethods - { - public static readonly System.Reflection.MethodInfo GetMethodFromHandle; - } - public class static SerializationInfoMethods - { - public static readonly System.Reflection.MethodInfo AddValue_Bool; - public static readonly System.Reflection.MethodInfo AddValue_Int32; - public static readonly System.Reflection.MethodInfo AddValue_Object; - public static readonly System.Reflection.MethodInfo GetValue; - public static readonly System.Reflection.MethodInfo SetType; - } - public class static TypeMethods - { - public static readonly System.Reflection.MethodInfo GetTypeFromHandle; - public static readonly System.Reflection.MethodInfo StaticGetType; - } - public class static TypeUtilMethods - { - public static readonly System.Reflection.MethodInfo GetTypeOrNull; - public static readonly System.Reflection.MethodInfo Sort; - } -} \ No newline at end of file diff --git a/ref/Castle.Core-netstandard1.3.cs b/ref/Castle.Core-netstandard1.3.cs index 6d0ebef696..599edd916a 100644 --- a/ref/Castle.Core-netstandard1.3.cs +++ b/ref/Castle.Core-netstandard1.3.cs @@ -660,6 +660,28 @@ public class RemoveIfEmptyAttribute : Castle.Components.DictionaryAdapter.Remove { public RemoveIfEmptyAttribute() { } } + public class SetProjection : Castle.Components.DictionaryAdapter.ListProjection, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.ISet, System.Collections.IEnumerable + { + public SetProjection(Castle.Components.DictionaryAdapter.ICollectionAdapter adapter) { } + public override bool Add(T item) { } + public override void Clear() { } + public override bool Contains(T item) { } + public override void EndNew(int index) { } + public void ExceptWith(System.Collections.Generic.IEnumerable other) { } + public void IntersectWith(System.Collections.Generic.IEnumerable other) { } + public bool IsProperSubsetOf(System.Collections.Generic.IEnumerable other) { } + public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable other) { } + public bool IsSubsetOf(System.Collections.Generic.IEnumerable other) { } + public bool IsSupersetOf(System.Collections.Generic.IEnumerable other) { } + protected override bool OnInserting(T value) { } + protected override bool OnReplacing(T oldValue, T newValue) { } + public bool Overlaps(System.Collections.Generic.IEnumerable other) { } + public override bool Remove(T item) { } + public override void RemoveAt(int index) { } + public bool SetEquals(System.Collections.Generic.IEnumerable other) { } + public void SymmetricExceptWith(System.Collections.Generic.IEnumerable other) { } + public void UnionWith(System.Collections.Generic.IEnumerable other) { } + } [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)] public class StringFormatAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter { diff --git a/ref/Castle.Core-netstandard1.5.cs b/ref/Castle.Core-netstandard1.5.cs index 22c7ae5592..d1d37bbfd0 100644 --- a/ref/Castle.Core-netstandard1.5.cs +++ b/ref/Castle.Core-netstandard1.5.cs @@ -660,6 +660,28 @@ public class RemoveIfEmptyAttribute : Castle.Components.DictionaryAdapter.Remove { public RemoveIfEmptyAttribute() { } } + public class SetProjection : Castle.Components.DictionaryAdapter.ListProjection, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.ISet, System.Collections.IEnumerable + { + public SetProjection(Castle.Components.DictionaryAdapter.ICollectionAdapter adapter) { } + public override bool Add(T item) { } + public override void Clear() { } + public override bool Contains(T item) { } + public override void EndNew(int index) { } + public void ExceptWith(System.Collections.Generic.IEnumerable other) { } + public void IntersectWith(System.Collections.Generic.IEnumerable other) { } + public bool IsProperSubsetOf(System.Collections.Generic.IEnumerable other) { } + public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable other) { } + public bool IsSubsetOf(System.Collections.Generic.IEnumerable other) { } + public bool IsSupersetOf(System.Collections.Generic.IEnumerable other) { } + protected override bool OnInserting(T value) { } + protected override bool OnReplacing(T oldValue, T newValue) { } + public bool Overlaps(System.Collections.Generic.IEnumerable other) { } + public override bool Remove(T item) { } + public override void RemoveAt(int index) { } + public bool SetEquals(System.Collections.Generic.IEnumerable other) { } + public void SymmetricExceptWith(System.Collections.Generic.IEnumerable other) { } + public void UnionWith(System.Collections.Generic.IEnumerable other) { } + } [System.AttributeUsageAttribute(System.AttributeTargets.Property | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)] public class StringFormatAttribute : Castle.Components.DictionaryAdapter.DictionaryBehaviorAttribute, Castle.Components.DictionaryAdapter.IDictionaryBehavior, Castle.Components.DictionaryAdapter.IDictionaryPropertyGetter { diff --git a/ref/Castle.Services.Logging.NLogIntegration-net35.cs b/ref/Castle.Services.Logging.NLogIntegration-net35.cs deleted file mode 100644 index d41ca78209..0000000000 --- a/ref/Castle.Services.Logging.NLogIntegration-net35.cs +++ /dev/null @@ -1,112 +0,0 @@ -[assembly: System.CLSCompliantAttribute(true)] -[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] -namespace Castle.Services.Logging.NLogIntegration -{ - public class ExtendedNLogFactory : Castle.Core.Logging.AbstractExtendedLoggerFactory - { - public ExtendedNLogFactory() { } - public ExtendedNLogFactory(string configFile) { } - public ExtendedNLogFactory(bool configuredExternally) { } - public ExtendedNLogFactory(NLog.Config.LoggingConfiguration loggingConfiguration) { } - public override Castle.Core.Logging.IExtendedLogger Create(string name) { } - public override Castle.Core.Logging.IExtendedLogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class ExtendedNLogLogger : Castle.Services.Logging.NLogIntegration.NLogLogger, Castle.Core.Logging.IExtendedLogger, Castle.Core.Logging.ILogger - { - public ExtendedNLogLogger(NLog.Logger logger, Castle.Services.Logging.NLogIntegration.ExtendedNLogFactory factory) { } - protected Castle.Services.Logging.NLogIntegration.ExtendedNLogFactory Factory { get; set; } - public Castle.Core.Logging.IContextProperties GlobalProperties { get; } - public Castle.Core.Logging.IContextProperties ThreadProperties { get; } - public Castle.Core.Logging.IContextStacks ThreadStacks { get; } - public override Castle.Core.Logging.ILogger CreateChildLogger(string name) { } - public Castle.Core.Logging.IExtendedLogger CreateExtendedChildLogger(string name) { } - } - public class GlobalContextProperties : Castle.Core.Logging.IContextProperties - { - public GlobalContextProperties() { } - public object this[string key] { get; set; } - } - public class NLogFactory : Castle.Core.Logging.AbstractLoggerFactory - { - public NLogFactory() { } - public NLogFactory(bool configuredExternally) { } - public NLogFactory(string configFile) { } - public NLogFactory(NLog.Config.LoggingConfiguration loggingConfiguration) { } - public override Castle.Core.Logging.ILogger Create(string name) { } - public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class NLogLogger : Castle.Core.Logging.ILogger - { - public NLogLogger(NLog.Logger logger, Castle.Services.Logging.NLogIntegration.NLogFactory factory) { } - protected Castle.Services.Logging.NLogIntegration.NLogFactory Factory { get; set; } - public bool IsDebugEnabled { get; } - public bool IsErrorEnabled { get; } - public bool IsFatalEnabled { get; } - public bool IsInfoEnabled { get; } - public bool IsTraceEnabled { get; } - public bool IsWarnEnabled { get; } - protected NLog.Logger Logger { get; set; } - public virtual Castle.Core.Logging.ILogger CreateChildLogger(string name) { } - public void Debug(string message) { } - public void Debug(System.Func messageFactory) { } - public void Debug(string message, System.Exception exception) { } - public void DebugFormat(string format, params object[] args) { } - public void DebugFormat(System.Exception exception, string format, params object[] args) { } - public void DebugFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void DebugFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Error(string message) { } - public void Error(System.Func messageFactory) { } - public void Error(string message, System.Exception exception) { } - public void ErrorFormat(string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, string format, params object[] args) { } - public void ErrorFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Fatal(string message) { } - public void Fatal(System.Func messageFactory) { } - public void Fatal(string message, System.Exception exception) { } - public void FatalFormat(string format, params object[] args) { } - public void FatalFormat(System.Exception exception, string format, params object[] args) { } - public void FatalFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void FatalFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Info(string message) { } - public void Info(System.Func messageFactory) { } - public void Info(string message, System.Exception exception) { } - public void InfoFormat(string format, params object[] args) { } - public void InfoFormat(System.Exception exception, string format, params object[] args) { } - public void InfoFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void InfoFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public override string ToString() { } - public void Trace(string message) { } - public void Trace(System.Func messageFactory) { } - public void Trace(string message, System.Exception exception) { } - public void TraceFormat(string format, params object[] args) { } - public void TraceFormat(System.Exception exception, string format, params object[] args) { } - public void TraceFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void TraceFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Warn(string message) { } - public void Warn(System.Func messageFactory) { } - public void Warn(string message, System.Exception exception) { } - public void WarnFormat(string format, params object[] args) { } - public void WarnFormat(System.Exception exception, string format, params object[] args) { } - public void WarnFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void WarnFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - } - public class ThreadContextProperties : Castle.Core.Logging.IContextProperties - { - public ThreadContextProperties() { } - public object this[string key] { get; set; } - } - public class ThreadContextStack : Castle.Core.Logging.IContextStack - { - public ThreadContextStack() { } - public int Count { get; } - public void Clear() { } - public string Pop() { } - public System.IDisposable Push(string message) { } - } - public class ThreadContextStacks : Castle.Core.Logging.IContextStacks - { - public ThreadContextStacks() { } - public Castle.Core.Logging.IContextStack this[string key] { get; } - } -} \ No newline at end of file diff --git a/ref/Castle.Services.Logging.log4netIntegration-net35.cs b/ref/Castle.Services.Logging.log4netIntegration-net35.cs deleted file mode 100644 index d0b25f7a58..0000000000 --- a/ref/Castle.Services.Logging.log4netIntegration-net35.cs +++ /dev/null @@ -1,113 +0,0 @@ -[assembly: System.CLSCompliantAttribute(true)] -[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] -namespace Castle.Services.Logging.Log4netIntegration -{ - public class ExtendedLog4netFactory : Castle.Core.Logging.AbstractExtendedLoggerFactory - { - public ExtendedLog4netFactory() { } - public ExtendedLog4netFactory(bool configuredExternally) { } - public ExtendedLog4netFactory(string configFile) { } - public ExtendedLog4netFactory(System.IO.Stream config) { } - public override Castle.Core.Logging.IExtendedLogger Create(string name) { } - public override Castle.Core.Logging.IExtendedLogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class ExtendedLog4netLogger : Castle.Services.Logging.Log4netIntegration.Log4netLogger, Castle.Core.Logging.IExtendedLogger, Castle.Core.Logging.ILogger - { - public ExtendedLog4netLogger(log4net.ILog log, Castle.Services.Logging.Log4netIntegration.ExtendedLog4netFactory factory) { } - public ExtendedLog4netLogger(log4net.Core.ILogger logger, Castle.Services.Logging.Log4netIntegration.ExtendedLog4netFactory factory) { } - protected Castle.Services.Logging.Log4netIntegration.ExtendedLog4netFactory Factory { get; set; } - public Castle.Core.Logging.IContextProperties GlobalProperties { get; } - public Castle.Core.Logging.IContextProperties ThreadProperties { get; } - public Castle.Core.Logging.IContextStacks ThreadStacks { get; } - public override Castle.Core.Logging.ILogger CreateChildLogger(string name) { } - public Castle.Core.Logging.IExtendedLogger CreateExtendedChildLogger(string name) { } - } - public class GlobalContextProperties : Castle.Core.Logging.IContextProperties - { - public GlobalContextProperties() { } - public object this[string key] { get; set; } - } - public class Log4netFactory : Castle.Core.Logging.AbstractLoggerFactory - { - public Log4netFactory() { } - public Log4netFactory(string configFile) { } - public Log4netFactory(bool configuredExternally) { } - public Log4netFactory(System.IO.Stream config) { } - public override Castle.Core.Logging.ILogger Create(string name) { } - public override Castle.Core.Logging.ILogger Create(string name, Castle.Core.Logging.LoggerLevel level) { } - } - public class Log4netLogger : System.MarshalByRefObject, Castle.Core.Logging.ILogger - { - public Log4netLogger(log4net.Core.ILogger logger, Castle.Services.Logging.Log4netIntegration.Log4netFactory factory) { } - protected Castle.Services.Logging.Log4netIntegration.Log4netFactory Factory { get; set; } - public bool IsDebugEnabled { get; } - public bool IsErrorEnabled { get; } - public bool IsFatalEnabled { get; } - public bool IsInfoEnabled { get; } - public bool IsTraceEnabled { get; } - public bool IsWarnEnabled { get; } - protected log4net.Core.ILogger Logger { get; set; } - public virtual Castle.Core.Logging.ILogger CreateChildLogger(string name) { } - public void Debug(string message) { } - public void Debug(System.Func messageFactory) { } - public void Debug(string message, System.Exception exception) { } - public void DebugFormat(string format, params object[] args) { } - public void DebugFormat(System.Exception exception, string format, params object[] args) { } - public void DebugFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void DebugFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Error(string message) { } - public void Error(System.Func messageFactory) { } - public void Error(string message, System.Exception exception) { } - public void ErrorFormat(string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, string format, params object[] args) { } - public void ErrorFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void ErrorFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Fatal(string message) { } - public void Fatal(System.Func messageFactory) { } - public void Fatal(string message, System.Exception exception) { } - public void FatalFormat(string format, params object[] args) { } - public void FatalFormat(System.Exception exception, string format, params object[] args) { } - public void FatalFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void FatalFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Info(string message) { } - public void Info(System.Func messageFactory) { } - public void Info(string message, System.Exception exception) { } - public void InfoFormat(string format, params object[] args) { } - public void InfoFormat(System.Exception exception, string format, params object[] args) { } - public void InfoFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void InfoFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public override string ToString() { } - public void Trace(string message) { } - public void Trace(System.Func messageFactory) { } - public void Trace(string message, System.Exception exception) { } - public void TraceFormat(string format, params object[] args) { } - public void TraceFormat(System.Exception exception, string format, params object[] args) { } - public void TraceFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void TraceFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - public void Warn(string message) { } - public void Warn(System.Func messageFactory) { } - public void Warn(string message, System.Exception exception) { } - public void WarnFormat(string format, params object[] args) { } - public void WarnFormat(System.Exception exception, string format, params object[] args) { } - public void WarnFormat(System.IFormatProvider formatProvider, string format, params object[] args) { } - public void WarnFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args) { } - } - public class ThreadContextProperties : Castle.Core.Logging.IContextProperties - { - public ThreadContextProperties() { } - public object this[string key] { get; set; } - } - public class ThreadContextStack : Castle.Core.Logging.IContextStack - { - public ThreadContextStack(log4net.Util.ThreadContextStack log4netStack) { } - public int Count { get; } - public void Clear() { } - public string Pop() { } - public System.IDisposable Push(string message) { } - } - public class ThreadContextStacks : Castle.Core.Logging.IContextStacks - { - public ThreadContextStacks() { } - public Castle.Core.Logging.IContextStack this[string key] { get; } - } -} \ No newline at end of file diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/DynamicDictionaryTests.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/DynamicDictionaryTests.cs index 0d265eafe5..1d5896bd89 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/DynamicDictionaryTests.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/DynamicDictionaryTests.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if !DOTNET35 - namespace Castle.Components.DictionaryAdapter.Tests { using System.Collections.Generic; @@ -63,5 +61,3 @@ public void Can_read_non_existing_value_from_dictionary_via_dynamic_object() } } } - -#endif \ No newline at end of file diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/IBook.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/IBook.cs index fe73d29011..ceb5828e4f 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/IBook.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/IBook.cs @@ -16,7 +16,6 @@ namespace Castle.Components.DictionaryAdapter.Tests { using System.Collections.Generic; -#if !DOTNET35 public interface IBook { IDeweyDecimalNumber DDC { get; set; } @@ -27,7 +26,6 @@ public interface IBook ISet RelatedBooks { get; set; } } -#endif public interface IDeweyDecimalNumber { diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Behaviors/ReferenceBehaviorTestCase.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Behaviors/ReferenceBehaviorTestCase.cs index 6b85112c0f..18ce9e4a5e 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Behaviors/ReferenceBehaviorTestCase.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Behaviors/ReferenceBehaviorTestCase.cs @@ -32,9 +32,7 @@ public interface IFoo : IDictionaryAdapter IFoo Two { get; set; } IFoo[] Array { get; set; } IList List { get; set; } -#if DOTNET40 ISet Set { get; set; } -#endif } public interface IBar : IDictionaryAdapter @@ -299,7 +297,6 @@ public void ListItemReference_Clear() } #region SetItemReference -#if DOTNET40 [Test] public void SetItemReference_Get() { @@ -447,10 +444,8 @@ public void SetItemReference_Clear() "" ), xml); } -#endif #endregion -#if DOTNET40 [Test] public void Complex_Collection_Assign_InternalReferences() { @@ -497,7 +492,6 @@ public void Complex_Collection_Assign_InternalReferences() CollectionAssert.Contains(foo.List[0].Set, foo.List[2]); CollectionAssert.DoesNotContain(foo.List[0].Set, foo); } -#endif [Test] public void NestedReference_NonNestedPrimary() diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Collections/XmlNodeSetTestCase.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Collections/XmlNodeSetTestCase.cs index 5a096b6c21..5d473729fd 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Collections/XmlNodeSetTestCase.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/Collections/XmlNodeSetTestCase.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if DOTNET40 namespace Castle.Components.DictionaryAdapter.Xml.Tests { using System; @@ -370,4 +369,3 @@ public interface IFoo : IDictionaryAdapter } } } -#endif diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlAdapterAcceptanceTestCase.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlAdapterAcceptanceTestCase.cs index f26eeabcc2..8a772a707b 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlAdapterAcceptanceTestCase.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlAdapterAcceptanceTestCase.cs @@ -853,7 +853,6 @@ public void Can_Remove_Properties() Assert.IsFalse(XmlAdapter.IsPropertyDefined("Name", season)); } -#if !DOTNET35 [Test] public void Can_Detect_Circularities() { @@ -886,7 +885,6 @@ public void Can_Detect_Circularities() book.RelatedBooks = relatedBooks; } } -#endif private T CreateXmlAdapter(string xml, ref XmlDocument document) { diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlTypeSerializerCacheTestCase.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlTypeSerializerCacheTestCase.cs index eac9eda387..b3a8e4d738 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlTypeSerializerCacheTestCase.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/Xml/XmlTypeSerializerCacheTestCase.cs @@ -15,9 +15,7 @@ namespace Castle.Components.DictionaryAdapter.Xml.Tests { using NUnit.Framework; -#if DOTNET40 using System.Threading.Tasks; -#endif [TestFixture] public class XmlTypeSerializerCacheTestCase @@ -48,7 +46,6 @@ public void Indexer_ForDifferentType_ReturnsDifferentInstance() Assert.AreNotSame(b, a); } -#if DOTNET40 [Test] public void Indexer_ForSameType_ReturnsSameInstance_Concurrently() { @@ -63,7 +60,6 @@ public void Indexer_ForSameType_ReturnsSameInstance_Concurrently() Assert.AreSame(serializers[0], serializers[i]); } } -#endif public class A { public int X { get; set; } } public class B { public string X { get; set; } } diff --git a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/XmlStructureComparer.cs b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/XmlStructureComparer.cs index 8e40db51aa..8849db436a 100644 --- a/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/XmlStructureComparer.cs +++ b/src/Castle.Core.Tests/Components.DictionaryAdapter.Tests/XmlStructureComparer.cs @@ -195,16 +195,8 @@ private static IEnumerable GetChildElementsAndAttributes(XmlNode node) private static IEnumerable GetElementChildNodes(XmlNode node) { return Enumerable.Concat( - (IEnumerable) node.Attributes.OfType().Where(a => !IsNamespace(a)) -#if DOTNET35 - .Cast() -#endif - , - (IEnumerable) node.ChildNodes.OfType() -#if DOTNET35 - .Cast() -#endif -); + (IEnumerable) node.Attributes.OfType().Where(a => !IsNamespace(a)), + (IEnumerable) node.ChildNodes.OfType()); } private static IEnumerable GetDocumentChildNodes(XmlDocument document) diff --git a/src/Castle.Core.Tests/DynamicProxy.Tests/BasicClassProxyTestCase.cs b/src/Castle.Core.Tests/DynamicProxy.Tests/BasicClassProxyTestCase.cs index 7eb90942e0..12d06bf539 100644 --- a/src/Castle.Core.Tests/DynamicProxy.Tests/BasicClassProxyTestCase.cs +++ b/src/Castle.Core.Tests/DynamicProxy.Tests/BasicClassProxyTestCase.cs @@ -280,9 +280,6 @@ public void ProducesInvocationsThatCantChangeTarget() } [Test] -#if DOTNET35 - [Ignore("https://support.microsoft.com/en-us/kb/960240")] -#endif public void ProxyTypeWithMultiDimentionalArrayAsParameters() { LogInvocationInterceptor log = new LogInvocationInterceptor(); diff --git a/src/Castle.Core.Tests/DynamicProxy.Tests/BasicInterfaceProxyTestCase.cs b/src/Castle.Core.Tests/DynamicProxy.Tests/BasicInterfaceProxyTestCase.cs index 2ff84dc8ac..1adb158593 100644 --- a/src/Castle.Core.Tests/DynamicProxy.Tests/BasicInterfaceProxyTestCase.cs +++ b/src/Castle.Core.Tests/DynamicProxy.Tests/BasicInterfaceProxyTestCase.cs @@ -105,9 +105,6 @@ public void Indexer() } [Test] -#if DOTNET35 - [Ignore("Signature of the body and declaration in a method implementation do not match. https://support.microsoft.com/en-us/kb/960240")] -#endif public void ProxyTypeWithMultiDimentionalArrayAsParameter() { var proxy = generator.CreateInterfaceProxyWithTarget( diff --git a/src/Castle.Core.Tests/DynamicProxy.Tests/Classes/ClassWithMethodsWithAllKindsOfOptionalParameters.cs b/src/Castle.Core.Tests/DynamicProxy.Tests/Classes/ClassWithMethodsWithAllKindsOfOptionalParameters.cs index 9deda5d0d8..988dccc9d7 100644 --- a/src/Castle.Core.Tests/DynamicProxy.Tests/Classes/ClassWithMethodsWithAllKindsOfOptionalParameters.cs +++ b/src/Castle.Core.Tests/DynamicProxy.Tests/Classes/ClassWithMethodsWithAllKindsOfOptionalParameters.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if !DOTNET35 namespace Castle.DynamicProxy.Tests.Classes { using System; @@ -248,4 +247,3 @@ public void MethodWithOptionalNonDefaultNullableEnumParameter(ConsoleColor? c = } } } -#endif \ No newline at end of file diff --git a/src/Castle.Core.Tests/DynamicProxy.Tests/Interfaces/InterfaceWithMethodsWithAllKindsOfOptionalParameters.cs b/src/Castle.Core.Tests/DynamicProxy.Tests/Interfaces/InterfaceWithMethodsWithAllKindsOfOptionalParameters.cs index 79f2299230..0711bfac50 100644 --- a/src/Castle.Core.Tests/DynamicProxy.Tests/Interfaces/InterfaceWithMethodsWithAllKindsOfOptionalParameters.cs +++ b/src/Castle.Core.Tests/DynamicProxy.Tests/Interfaces/InterfaceWithMethodsWithAllKindsOfOptionalParameters.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if !DOTNET35 namespace Castle.DynamicProxy.Tests.Interfaces { using System; @@ -131,4 +130,3 @@ public interface InterfaceWithMethodsWithAllKindsOfOptionalParameters void MethodWithOptionalNonDefaultNullableEnumParameter(ConsoleColor? c = ConsoleColor.Cyan); } } -#endif \ No newline at end of file diff --git a/src/Castle.Core/Castle.Core.csproj b/src/Castle.Core/Castle.Core.csproj index ae57a6aa16..a941fe855c 100644 --- a/src/Castle.Core/Castle.Core.csproj +++ b/src/Castle.Core/Castle.Core.csproj @@ -3,7 +3,7 @@ - net35;net40;net45;netstandard1.3;netstandard1.5 + net40;net45;netstandard1.3;netstandard1.5 @@ -28,7 +28,7 @@ - + diff --git a/src/Castle.Core/Compatibility/CustomAttributeExtensions.cs b/src/Castle.Core/Compatibility/CustomAttributeExtensions.cs index a45d037745..2c21889091 100644 --- a/src/Castle.Core/Compatibility/CustomAttributeExtensions.cs +++ b/src/Castle.Core/Compatibility/CustomAttributeExtensions.cs @@ -18,10 +18,10 @@ namespace System.Reflection { using System.Collections.Generic; - // This allows us to use the new reflection API while still supporting .NET 3.5 and 4.0. + // This allows us to use the new reflection API while still supporting .NET 4.0. // // Methods like Attribute.IsDefined no longer exist in .NET Core so this provides a shim - // for .NET 3.5 and 4.0. + // for .NET 4.0. // // This class only implemented the required extensions so add more if needed in the order // from https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Extensions/ref/System.Reflection.Extensions.cs diff --git a/src/Castle.Core/Compatibility/IntrospectionExtensions.cs b/src/Castle.Core/Compatibility/IntrospectionExtensions.cs index 3630ae1c01..ad7880fac8 100644 --- a/src/Castle.Core/Compatibility/IntrospectionExtensions.cs +++ b/src/Castle.Core/Compatibility/IntrospectionExtensions.cs @@ -19,7 +19,7 @@ namespace System.Reflection internal static class IntrospectionExtensions { // This allows us to use the new reflection API which separates Type and TypeInfo - // while still supporting .NET 3.5 and 4.0. This class matches the API of the same + // while still supporting .NET 4.0. This class matches the API of the same // class in .NET 4.5+, and so is only needed on .NET Framework versions before that. // // Return the System.Type for now, we will probably need to create a TypeInfo class diff --git a/src/Castle.Core/Compatibility/RuntimeReflectionExtensions.cs b/src/Castle.Core/Compatibility/RuntimeReflectionExtensions.cs index 53ba0abf50..068ef90c8b 100644 --- a/src/Castle.Core/Compatibility/RuntimeReflectionExtensions.cs +++ b/src/Castle.Core/Compatibility/RuntimeReflectionExtensions.cs @@ -16,10 +16,10 @@ namespace System.Reflection { - // This allows us to use the new reflection API while still supporting .NET 3.5 and 4.0. + // This allows us to use the new reflection API while still supporting .NET 4.0. // // Methods like Type.GetInterfaceMap no longer exist in .NET Core so this provides a shim - // for .NET 3.5 and 4.0. + // for .NET 4.0. internal static class RuntimeReflectionExtensions { // Delegate to the old name for this method. diff --git a/src/Castle.Core/Compatibility/TypeBuilderExtensions.cs b/src/Castle.Core/Compatibility/TypeBuilderExtensions.cs index 5946120ae3..d89baa5c27 100644 --- a/src/Castle.Core/Compatibility/TypeBuilderExtensions.cs +++ b/src/Castle.Core/Compatibility/TypeBuilderExtensions.cs @@ -18,7 +18,7 @@ namespace System.Reflection { using System.Reflection.Emit; - // This allows us to use the new reflection API while still supporting .NET 3.5 and 4.0. + // This allows us to use the new reflection API while still supporting .NET 4.0. internal static class TypeBuilderExtensions { // TypeBuilder and GenericTypeParameterBuilder no longer inherit from Type but TypeInfo, diff --git a/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterFactory.cs b/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterFactory.cs index 387f265ff5..ed43763e19 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterFactory.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterFactory.cs @@ -205,11 +205,7 @@ private DictionaryAdapterMeta CreateAdapterMeta(Type type, TypeBuilder typeBuild if (descriptor != null) { -#if DOTNET40 initializers.AddBehaviors(descriptor.MetaInitializers); -#else - initializers.AddBehaviors(descriptor.MetaInitializers.Cast()); -#endif typeBehaviors = typeBehaviors.Union(descriptor.Annotations).ToArray(); } @@ -438,13 +434,8 @@ private static Dictionary GetPropertyDescriptors(Typ var interfaceBehaviors = typeBehaviors = ExpandBehaviors(InterfaceAttributeUtil.GetAttributes(type, true)).ToArray(); var defaultFetch = typeBehaviors.OfType().Select(b => (bool?)b.Fetch).FirstOrDefault().GetValueOrDefault(); -#if DOTNET40 initializers.AddBehaviors(typeBehaviors.OfType()) .AddBehaviors(typeBehaviors.OfType()); -#else - initializers.AddBehaviors(typeBehaviors.OfType().Cast()) - .AddBehaviors(typeBehaviors.OfType ().Cast()); -#endif CollectProperties(type, (property, reflectedType) => { @@ -454,12 +445,7 @@ private static Dictionary GetPropertyDescriptors(Typ .AddBehaviors(interfaceBehaviors.OfType().Where(b => b is IDictionaryKeyBuilder == false)); var expandedBehaviors = ExpandBehaviors(InterfaceAttributeUtil .GetAttributes(reflectedType, true)) -#if DOTNET40 .OfType(); -#else - .OfType() - .Cast(); -#endif propertyDescriptor = propertyDescriptor.AddBehaviors(expandedBehaviors); AddDefaultGetter(propertyDescriptor); @@ -473,11 +459,7 @@ private static Dictionary GetPropertyDescriptors(Typ descriptorInitializer.Initialize(propertyDescriptor, propertyBehaviors); } -#if DOTNET40 initializers.AddBehaviors(propertyBehaviors.OfType()); -#else - initializers.AddBehaviors(propertyBehaviors.OfType().Cast()); -#endif PropertyDescriptor existingDescriptor; if (propertyMap.TryGetValue(property.Name, out existingDescriptor)) diff --git a/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterMeta.cs b/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterMeta.cs index 51de52c4f9..f43429964c 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterMeta.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/DictionaryAdapterMeta.cs @@ -81,11 +81,7 @@ public PropertyDescriptor CreateDescriptor() descriptor.AddBehaviors(metaInitializers); if (sharedInitializers != null) -#if DOTNET40 descriptor.AddBehaviors(sharedInitializers); -#else - descriptor.AddBehaviors(sharedInitializers.Cast()); -#endif return descriptor; } diff --git a/src/Castle.Core/Components.DictionaryAdapter/DynamicDictionary.cs b/src/Castle.Core/Components.DictionaryAdapter/DynamicDictionary.cs index 3b04e82591..5146b8d8e6 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/DynamicDictionary.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/DynamicDictionary.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if !DOTNET35 - namespace Castle.Components.DictionaryAdapter { using System.Collections; @@ -52,5 +50,3 @@ public override bool TrySetMember(SetMemberBinder binder, object value) } } } - -#endif \ No newline at end of file diff --git a/src/Castle.Core/Components.DictionaryAdapter/Util/SetProjection.cs b/src/Castle.Core/Components.DictionaryAdapter/Util/SetProjection.cs index 948a09af00..9e4761bb29 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/Util/SetProjection.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/Util/SetProjection.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if DOTNET40 namespace Castle.Components.DictionaryAdapter { using System.Collections.Generic; @@ -158,4 +157,3 @@ public void SymmetricExceptWith(IEnumerable other) } } } -#endif diff --git a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Collections/XmlNodeSet.cs b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Collections/XmlNodeSet.cs index 4dc6f04c14..3be94aa45f 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Collections/XmlNodeSet.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Collections/XmlNodeSet.cs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if DOTNET40 +#if FEATURE_DICTIONARYADAPTER_XML namespace Castle.Components.DictionaryAdapter.Xml { internal class XmlNodeSet : SetProjection, IXmlNodeSource diff --git a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlSetSerializer.cs b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlSetSerializer.cs index 7518b9e7c1..db0c3fbb7c 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlSetSerializer.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlSetSerializer.cs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if DOTNET40 +#if FEATURE_DICTIONARYADAPTER_XML namespace Castle.Components.DictionaryAdapter.Xml { using System; diff --git a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlTypeSerializerCache.cs b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlTypeSerializerCache.cs index 490d0477a9..f33bec33e2 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlTypeSerializerCache.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlTypeSerializerCache.cs @@ -65,10 +65,8 @@ private static XmlTypeSerializer CreateSerializer(Type type) genericType == typeof(IEnumerable<>) || genericType == typeof(IBindingList<>)) return XmlListSerializer.Instance; -#if DOTNET40 if (genericType == typeof(ISet<>)) return XmlSetSerializer.Instance; -#endif if (// Dictionaries are not supported genericType == typeof(IDictionary<,>) || genericType == typeof(Dictionary<,>) || @@ -81,9 +79,7 @@ private static XmlTypeSerializer CreateSerializer(Type type) genericType == typeof(SortedList<,>) || // Concrete set types are not supported genericType == typeof(HashSet<>) || -#if DOTNET40 genericType == typeof(SortedSet<>) || -#endif // CLR binding list is not supported; use Castle version genericType == typeof(BindingList<>)) throw Error.UnsupportedCollectionType(type); diff --git a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Utilities/XmlSubtreeReader.cs b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Utilities/XmlSubtreeReader.cs index 82778670f6..7f1a40f9cd 100644 --- a/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Utilities/XmlSubtreeReader.cs +++ b/src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Utilities/XmlSubtreeReader.cs @@ -135,16 +135,6 @@ private string TranslateNamespaceURI() : actualNamespaceURI; } -#if !DOTNET40 - // Virtual in .NET 4.0, abstract in .NET 3.5 - // Use default implementation from .NET 4.0 - public override bool HasValue - { - get { return 0UL != (HasValueMask & (1UL << ((int)NodeType & 31))); } - } - private const ulong HasValueMask = 0x0002659CU; -#endif - public override string Value { get { return Reader.Value; } diff --git a/src/Castle.Core/Core/Internal/PermissionUtil.cs b/src/Castle.Core/Core/Internal/PermissionUtil.cs index 5b21200f2e..38a9490eb2 100644 --- a/src/Castle.Core/Core/Internal/PermissionUtil.cs +++ b/src/Castle.Core/Core/Internal/PermissionUtil.cs @@ -27,14 +27,10 @@ public static class PermissionUtil #endif public static bool IsGranted(this IPermission permission) { -#if DOTNET35 - return SecurityManager.IsGranted(permission); -#else var permissionSet = new PermissionSet(PermissionState.None); permissionSet.AddPermission(permission); return permissionSet.IsSubsetOf(AppDomain.CurrentDomain.PermissionSet); -#endif } } } diff --git a/src/Castle.Core/DynamicProxy/Generators/AttributesToAvoidReplicating.cs b/src/Castle.Core/DynamicProxy/Generators/AttributesToAvoidReplicating.cs index 4bafe1f00f..c20e333891 100644 --- a/src/Castle.Core/DynamicProxy/Generators/AttributesToAvoidReplicating.cs +++ b/src/Castle.Core/DynamicProxy/Generators/AttributesToAvoidReplicating.cs @@ -31,9 +31,7 @@ static AttributesToAvoidReplicating() { typeof(System.Runtime.InteropServices.ComImportAttribute), typeof(System.Runtime.InteropServices.MarshalAsAttribute), -#if !DOTNET35 typeof(System.Runtime.InteropServices.TypeIdentifierAttribute), -#endif #if FEATURE_SECURITY_PERMISSIONS typeof(System.Security.Permissions.SecurityAttribute), #endif diff --git a/src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj b/src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj index 3a1f2cb7c2..b30dd76359 100644 --- a/src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj +++ b/src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj @@ -3,7 +3,7 @@ - net35;net40;net45;netstandard1.3 + net40;net45;netstandard1.3 diff --git a/src/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.csproj b/src/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.csproj index 8ba5b5fcd1..963a9b4094 100644 --- a/src/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.csproj +++ b/src/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.csproj @@ -3,7 +3,7 @@ - net35;net40;net45;netstandard1.3 + net40;net45;netstandard1.3