From: <jer...@us...> - 2008-10-05 03:23:12
|
Revision: 173 http://structuremap.svn.sourceforge.net/structuremap/?rev=173&view=rev Author: jeremydmiller Date: 2008-10-05 03:02:08 +0000 (Sun, 05 Oct 2008) Log Message: ----------- One big honking ReSharper cleanup Modified Paths: -------------- trunk/Source/StructureMap/BuildSession.cs trunk/Source/StructureMap/ConfigurationExpression.cs trunk/Source/StructureMap/Container.cs trunk/Source/StructureMap/Diagnostics/WhatDoIHaveWriter.cs trunk/Source/StructureMap/Emitting/Parameters/Methods.cs trunk/Source/StructureMap/ErrorMessages.cs trunk/Source/StructureMap/ExplicitArgsExpression.cs trunk/Source/StructureMap/IBootstrapper.cs trunk/Source/StructureMap/IContainer.cs trunk/Source/StructureMap/InstanceBuilder.cs trunk/Source/StructureMap/InstanceBuilderList.cs trunk/Source/StructureMap/InstanceCache.cs trunk/Source/StructureMap/InstanceFactory.cs trunk/Source/StructureMap/InstanceMemento.cs trunk/Source/StructureMap/MementoSource.cs trunk/Source/StructureMap/MemoryInstanceMemento.cs trunk/Source/StructureMap/Model.cs trunk/Source/StructureMap/ObjectFactory.cs trunk/Source/StructureMap/PipelineGraph.cs trunk/Source/StructureMap/PluginGraphBuilder.cs trunk/Source/StructureMap/Properties/AssemblyInfo.cs trunk/Source/StructureMap/ReflectionHelper.cs trunk/Source/StructureMap/StructureMapConfiguration.cs trunk/Source/StructureMap.Testing/AlternativeConfigurationTester.cs trunk/Source/StructureMap.Testing/AssemblyInfo.cs trunk/Source/StructureMap.Testing/Attributes/PluginFamilyAttributeTester.cs trunk/Source/StructureMap.Testing/BuildSessionTester.cs trunk/Source/StructureMap.Testing/Configuration/ConfigurationParserBuilderTester.cs trunk/Source/StructureMap.Testing/Configuration/ConfigurationParserTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/AddInstanceTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/ConstructorExpressionTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/CreatePluginFamilyTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/DeepInstanceTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/GenericFamilyExpressionTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/InjectArrayTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/InstanceExpressionTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/InterceptAllInstancesOfPluginTypeTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/InterceptorTesting.cs trunk/Source/StructureMap.Testing/Configuration/DSL/RegistryIntegratedTester.cs trunk/Source/StructureMap.Testing/Configuration/DSL/RegistryTester.cs trunk/Source/StructureMap.Testing/Configuration/DefaultInstanceNodeTester.cs trunk/Source/StructureMap.Testing/Configuration/DictionaryAndArrayArgumentTester.cs trunk/Source/StructureMap.Testing/Configuration/FamilyParserTester.cs trunk/Source/StructureMap.Testing/Configuration/InlineInstanceDefinitionInProfileAndMachineNodesTester.cs trunk/Source/StructureMap.Testing/Configuration/PrimitiveArrayReaderTester.cs trunk/Source/StructureMap.Testing/Configuration/ProfileBuilderTester.cs trunk/Source/StructureMap.Testing/Configuration/ShortcuttedInstanceNodeTester.cs trunk/Source/StructureMap.Testing/DataAccess/CommandCollectionTester.cs trunk/Source/StructureMap.Testing/DataAccess/CommandFactoryTester.cs trunk/Source/StructureMap.Testing/DataAccess/Commands/ParameterizedQueryFilterTester.cs trunk/Source/StructureMap.Testing/DataAccess/DataSessionTester.cs trunk/Source/StructureMap.Testing/DataAccess/DataSetMapping/ReaderToColumnMapTester.cs trunk/Source/StructureMap.Testing/DataAccess/DataSetMapping/ReaderToTableMapperTester.cs trunk/Source/StructureMap.Testing/DataAccess/Debugging.cs trunk/Source/StructureMap.Testing/DataAccess/ExecutionStates/AutoCommitExecutionStateTester.cs trunk/Source/StructureMap.Testing/DataAccess/ExecutionStates/TransactionalExecutionStateTester.cs trunk/Source/StructureMap.Testing/DataAccess/JSON/ArrayTester.cs trunk/Source/StructureMap.Testing/DataAccess/JSON/FieldTester.cs trunk/Source/StructureMap.Testing/DataAccess/JSON/ObjectTester.cs trunk/Source/StructureMap.Testing/DataAccess/MSSQL/MSSQLDatabaseEngineTester.cs trunk/Source/StructureMap.Testing/DataAccess/Parameterization/ParameterTemplateTester.cs trunk/Source/StructureMap.Testing/DataAccess/Parameterization/ParameterizedCommandBuilderTester.cs trunk/Source/StructureMap.Testing/DataAccess/Parameters/TemplateParameterTester.cs trunk/Source/StructureMap.Testing/DataAccess/ReaderSourceCollectionTester.cs trunk/Source/StructureMap.Testing/DataAccess/StubbedCommand.cs trunk/Source/StructureMap.Testing/DataAccess/StubbedReaderSource.cs trunk/Source/StructureMap.Testing/DataAccess/TemplatedCommandTester.cs trunk/Source/StructureMap.Testing/DataAccess/Tools/Mocks/CommandExpectationTester.cs trunk/Source/StructureMap.Testing/DataAccess/Tools/Mocks/MockCommandTester.cs trunk/Source/StructureMap.Testing/DataAccess/Tools/Mocks/MockDataSessionTester.cs trunk/Source/StructureMap.Testing/DataAccess/Tools/Mocks/MockReaderSourceTester.cs trunk/Source/StructureMap.Testing/DataAccess/Tools/Mocks/ParameterListTester.cs trunk/Source/StructureMap.Testing/DataAccess/Tools/TableDataReaderTester.cs trunk/Source/StructureMap.Testing/Diagnostics/TextReportWriterSmokeTester.cs trunk/Source/StructureMap.Testing/Diagnostics/WriterExtensions.cs trunk/Source/StructureMap.Testing/Examples.cs trunk/Source/StructureMap.Testing/GenericsIntegrationTester.cs trunk/Source/StructureMap.Testing/Graph/ArrayConstructorTester.cs trunk/Source/StructureMap.Testing/Graph/AssemblyScannerTester.cs trunk/Source/StructureMap.Testing/Graph/ContainerTester.cs trunk/Source/StructureMap.Testing/Graph/DefaultConventionScanningTester.cs trunk/Source/StructureMap.Testing/Graph/DynamicInjectionTester.cs trunk/Source/StructureMap.Testing/Graph/EmittingTester.cs trunk/Source/StructureMap.Testing/Graph/EnumerationTester.cs trunk/Source/StructureMap.Testing/Graph/ExceptionHandling/StructureMapExceptionTester.cs trunk/Source/StructureMap.Testing/Graph/ExplicitArgumentTester.cs trunk/Source/StructureMap.Testing/Graph/FullStackFacadeTester.cs trunk/Source/StructureMap.Testing/Graph/GenericsPluginGraphTester.cs trunk/Source/StructureMap.Testing/Graph/ImplicitDefaultTest.cs trunk/Source/StructureMap.Testing/Graph/Interceptors/CompoundInterceptorTester.cs trunk/Source/StructureMap.Testing/Graph/Interceptors/InterceptorLibraryTester.cs trunk/Source/StructureMap.Testing/Graph/Interceptors/TypeInterceptionTester.cs trunk/Source/StructureMap.Testing/Graph/PluginFamilyMergeTester.cs trunk/Source/StructureMap.Testing/Graph/PluginFamilyTester.cs trunk/Source/StructureMap.Testing/Graph/PluginGraphTester.cs trunk/Source/StructureMap.Testing/Graph/PluginTester.cs trunk/Source/StructureMap.Testing/Graph/SetterInjectionEmittingTester.cs trunk/Source/StructureMap.Testing/Graph/SetterInjectionTester.cs trunk/Source/StructureMap.Testing/Graph/Source/DirectoryXmlMementoSourceTester.cs trunk/Source/StructureMap.Testing/Graph/Source/XmlAttributeInstanceMementoTester.cs trunk/Source/StructureMap.Testing/Graph/Source/XmlInstanceMementoTester.cs trunk/Source/StructureMap.Testing/Graph/Source/XmlTemplaterTester.cs trunk/Source/StructureMap.Testing/Graph/TypeFindingTester.cs trunk/Source/StructureMap.Testing/Graph/TypePathTester.cs trunk/Source/StructureMap.Testing/ImplicitPluginFromPluggedTypeAttributeTester.cs trunk/Source/StructureMap.Testing/InstanceBuilderListTester.cs trunk/Source/StructureMap.Testing/InstanceMementoInstanceCreationTester.cs trunk/Source/StructureMap.Testing/MementoTester.cs trunk/Source/StructureMap.Testing/ModelQueryTester.cs trunk/Source/StructureMap.Testing/ObjectFactoryInitializeTester.cs trunk/Source/StructureMap.Testing/ObjectFactoryTester.cs trunk/Source/StructureMap.Testing/Pipeline/BuildStackTester.cs trunk/Source/StructureMap.Testing/Pipeline/BuildStrategiesTester.cs trunk/Source/StructureMap.Testing/Pipeline/ConstructorInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/DefaultInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/InstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/LiteralInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/OptionalSetterInjectionTester.cs trunk/Source/StructureMap.Testing/Pipeline/ProfileManagerMergeTester.cs trunk/Source/StructureMap.Testing/Pipeline/ProfileManagerTester.cs trunk/Source/StructureMap.Testing/Pipeline/ProfileTester.cs trunk/Source/StructureMap.Testing/Pipeline/PrototypeInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/ReferencedInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/SerializedInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/SmartInstanceTester.cs trunk/Source/StructureMap.Testing/Pipeline/StubBuildSession.cs trunk/Source/StructureMap.Testing/Pipeline/ThreadLocalStoragePolicyTester.cs trunk/Source/StructureMap.Testing/PipelineGraphTester.cs trunk/Source/StructureMap.Testing/SpecificationExtensions.cs trunk/Source/StructureMap.Testing/StructureMapConfigurationDefensiveChecksTester.cs trunk/Source/StructureMap.Testing/StructureMapConfigurationTester.cs trunk/Source/StructureMap.Testing/TestData/DataMother.cs trunk/Source/StructureMap.Testing/TestUtility.cs trunk/Source/StructureMap.Testing/XmlWriting/ElementChecker.cs Removed Paths: ------------- trunk/Source/StructureMap/StructureMap.ndoc Modified: trunk/Source/StructureMap/BuildSession.cs =================================================================== --- trunk/Source/StructureMap/BuildSession.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/BuildSession.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -1,6 +1,5 @@ using System; using System.Collections; -using System.Collections.Generic; using StructureMap.Graph; using StructureMap.Interceptors; using StructureMap.Pipeline; @@ -10,20 +9,18 @@ { public interface IContext { - T GetInstance<T>(); - - BuildStack BuildStack { get; } Type ParentType { get; } + T GetInstance<T>(); } public class BuildSession : IContext { - private readonly InterceptorLibrary _interceptorLibrary; - private readonly PipelineGraph _pipelineGraph; + private readonly BuildStack _buildStack = new BuildStack(); private readonly InstanceCache _cache = new InstanceCache(); private readonly Cache<Type, object> _defaults; - private readonly BuildStack _buildStack = new BuildStack(); + private readonly InterceptorLibrary _interceptorLibrary; + private readonly PipelineGraph _pipelineGraph; public BuildSession(PipelineGraph pipelineGraph, InterceptorLibrary interceptorLibrary) { @@ -46,12 +43,10 @@ public BuildSession(PluginGraph graph) : this(new PipelineGraph(graph), graph.InterceptorLibrary) { - } public BuildSession() : this(new PluginGraph()) { - } @@ -60,6 +55,25 @@ get { return _pipelineGraph; } } + #region IContext Members + + public BuildStack BuildStack + { + get { return _buildStack; } + } + + public Type ParentType + { + get { return _buildStack.Parent.ConcreteType; } + } + + T IContext.GetInstance<T>() + { + return (T) CreateInstance(typeof (T)); + } + + #endregion + public virtual object CreateInstance(Type pluginType, string name) { Instance instance = forType(pluginType).FindInstance(name); @@ -74,7 +88,7 @@ public virtual object CreateInstance(Type pluginType, Instance instance) { object result = _cache.Get(pluginType, instance); - + if (result == null) { result = forType(pluginType).Build(this, instance); @@ -107,7 +121,7 @@ object arrayValue = forType(pluginType).Build(this, instance); array.SetValue(arrayValue, i); - } + } } return array; @@ -129,25 +143,10 @@ _defaults.Store(pluginType, defaultObject); } - public BuildStack BuildStack - { - get { return _buildStack; } - } - public Type ParentType - { - get { return _buildStack.Parent.ConcreteType; } - } - - private IInstanceFactory forType(Type pluginType) { return _pipelineGraph.ForType(pluginType); } - - T IContext.GetInstance<T>() - { - return (T) CreateInstance(typeof (T)); - } } } \ No newline at end of file Modified: trunk/Source/StructureMap/ConfigurationExpression.cs =================================================================== --- trunk/Source/StructureMap/ConfigurationExpression.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/ConfigurationExpression.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -10,8 +10,8 @@ public class ConfigurationExpression : Registry { protected readonly GraphLog _log = new GraphLog(); - private readonly List<Registry> _registries = new List<Registry>(); protected readonly ConfigurationParserBuilder _parserBuilder; + private readonly List<Registry> _registries = new List<Registry>(); internal ConfigurationExpression() { @@ -20,9 +20,13 @@ _parserBuilder.PullConfigurationFromAppConfig = false; _registries.Add(this); - } + public bool IncludeConfigurationFromConfigFile + { + set { _parserBuilder.UseAndEnforceExistenceOfDefaultFile = value; } + } + public void AddRegistry<T>() where T : Registry, new() { AddRegistry(new T()); @@ -43,19 +47,10 @@ _parserBuilder.IncludeNode(node, "Xml configuration"); } - public bool IncludeConfigurationFromConfigFile - { - set - { - _parserBuilder.UseAndEnforceExistenceOfDefaultFile = value; - } - - } - internal PluginGraph BuildGraph() { - var parsers = _parserBuilder.GetParsers(); - PluginGraphBuilder builder = new PluginGraphBuilder(parsers, _registries.ToArray(), _log); + ConfigurationParser[] parsers = _parserBuilder.GetParsers(); + var builder = new PluginGraphBuilder(parsers, _registries.ToArray(), _log); return builder.Build(); } Modified: trunk/Source/StructureMap/Container.cs =================================================================== --- trunk/Source/StructureMap/Container.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/Container.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -1,8 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Diagnostics; -using System.Text; using StructureMap.Configuration.DSL; using StructureMap.Diagnostics; using StructureMap.Exceptions; @@ -18,13 +16,13 @@ public class Container : TypeRules, IContainer { private InterceptorLibrary _interceptorLibrary; + private Model _model; private PipelineGraph _pipelineGraph; private PluginGraph _pluginGraph; - private Model _model; public Container(Action<ConfigurationExpression> action) { - ConfigurationExpression expression = new ConfigurationExpression(); + var expression = new ConfigurationExpression(); action(expression); construct(expression.BuildGraph()); @@ -38,11 +36,6 @@ { } - public PluginGraph PluginGraph - { - get { return _pluginGraph; } - } - /// <summary> /// Constructor to create an Container /// </summary> @@ -54,24 +47,6 @@ construct(pluginGraph); } - private void construct(PluginGraph pluginGraph) - { - _interceptorLibrary = pluginGraph.InterceptorLibrary; - - if (!pluginGraph.IsSealed) - { - pluginGraph.Seal(); - } - - _pluginGraph = pluginGraph; - pluginGraph.Log.AssertFailures(); - - _pipelineGraph = new PipelineGraph(pluginGraph); - _model = new Model(_pipelineGraph); - - PluginCache.Compile(); - } - protected MissingFactoryFunction onMissingFactory { set { _pipelineGraph.OnMissingFactory = value; } @@ -79,6 +54,11 @@ #region IContainer Members + public PluginGraph PluginGraph + { + get { return _pluginGraph; } + } + public IModel Model { get { return _model; } @@ -96,7 +76,7 @@ public PLUGINTYPE GetInstance<PLUGINTYPE>(ExplicitArguments args) { - return (PLUGINTYPE) GetInstance(typeof(PLUGINTYPE), args); + return (PLUGINTYPE) GetInstance(typeof (PLUGINTYPE), args); } public object GetInstance(Type type, ExplicitArguments args) @@ -148,17 +128,6 @@ return getListOfTypeWithSession<T>(session); } - private IList<T> getListOfTypeWithSession<T>(BuildSession session) - { - List<T> list = new List<T>(); - foreach (T instance in forType(typeof (T)).GetAllInstances(session)) - { - list.Add(instance); - } - - return list; - } - public void SetDefaultsToProfile(string profile) { _pipelineGraph.CurrentProfile = profile; @@ -176,8 +145,6 @@ } - - /// <summary> /// Creates a new object instance of the requested type /// </summary> @@ -205,20 +172,10 @@ /// Sets the default instance for the PluginType /// </summary> /// <param name="pluginType"></param> - /// <param name="instance"></param> - public void Inject(Type pluginType, Instance instance) - { - _pipelineGraph.SetDefault(pluginType, instance); - } - - /// <summary> - /// Sets the default instance for the PluginType - /// </summary> - /// <param name="pluginType"></param> /// <param name="instanceKey"></param> public void SetDefault(Type pluginType, string instanceKey) { - ReferencedInstance reference = new ReferencedInstance(instanceKey); + var reference = new ReferencedInstance(instanceKey); _pipelineGraph.SetDefault(pluginType, reference); } @@ -229,12 +186,12 @@ public void SetDefault<T>(Instance instance) { - SetDefault(typeof(T), instance); + SetDefault(typeof (T), instance); } public void SetDefault<PLUGINTYPE, CONCRETETYPE>() where CONCRETETYPE : PLUGINTYPE { - SetDefault<PLUGINTYPE>(new ConfiguredInstance(typeof(CONCRETETYPE))); + SetDefault<PLUGINTYPE>(new ConfiguredInstance(typeof (CONCRETETYPE))); } @@ -251,7 +208,7 @@ throw new StructureMapException(230, type.FullName); } - Plugin plugin = new Plugin(type); + var plugin = new Plugin(type); if (!plugin.CanBeAutoFilled) { throw new StructureMapException(230, type.FullName); @@ -275,7 +232,7 @@ } - LiteralInstance instance = new LiteralInstance(stub); + var instance = new LiteralInstance(stub); _pipelineGraph.SetDefault(pluginType, instance); } @@ -288,7 +245,7 @@ { lock (this) { - ConfigurationExpression registry = new ConfigurationExpression(); + var registry = new ConfigurationExpression(); configure(registry); PluginGraph graph = registry.Build(); @@ -302,13 +259,13 @@ public string WhatDoIHave() { - WhatDoIHaveWriter writer = new WhatDoIHaveWriter(_pipelineGraph); + var writer = new WhatDoIHaveWriter(_pipelineGraph); return writer.GetText(); } public ExplicitArgsExpression With<T>(T arg) { - return new ExplicitArgsExpression(this).With<T>(arg); + return new ExplicitArgsExpression(this).With(arg); } public IExplicitProperty With(string argName) @@ -318,7 +275,7 @@ public void AssertConfigurationIsValid() { - ValidationBuildSession session = new ValidationBuildSession(_pipelineGraph, _interceptorLibrary); + var session = new ValidationBuildSession(_pipelineGraph, _interceptorLibrary); session.PerformValidations(); if (!session.Success) @@ -327,10 +284,52 @@ } } + public void EjectAllInstancesOf<T>() + { + _pipelineGraph.EjectAllInstancesOf<T>(); + } - #endregion + private void construct(PluginGraph pluginGraph) + { + _interceptorLibrary = pluginGraph.InterceptorLibrary; + + if (!pluginGraph.IsSealed) + { + pluginGraph.Seal(); + } + + _pluginGraph = pluginGraph; + pluginGraph.Log.AssertFailures(); + + _pipelineGraph = new PipelineGraph(pluginGraph); + _model = new Model(_pipelineGraph); + + PluginCache.Compile(); + } + + private IList<T> getListOfTypeWithSession<T>(BuildSession session) + { + var list = new List<T>(); + foreach (T instance in forType(typeof (T)).GetAllInstances(session)) + { + list.Add(instance); + } + + return list; + } + + /// <summary> + /// Sets the default instance for the PluginType + /// </summary> + /// <param name="pluginType"></param> + /// <param name="instance"></param> + public void Inject(Type pluginType, Instance instance) + { + _pipelineGraph.SetDefault(pluginType, instance); + } + private BuildSession withNewSession() { return new BuildSession(_pipelineGraph, _interceptorLibrary); @@ -341,10 +340,5 @@ { return _pipelineGraph.ForType(type); } - - public void EjectAllInstancesOf<T>() - { - _pipelineGraph.EjectAllInstancesOf<T>(); - } } } \ No newline at end of file Modified: trunk/Source/StructureMap/Diagnostics/WhatDoIHaveWriter.cs =================================================================== --- trunk/Source/StructureMap/Diagnostics/WhatDoIHaveWriter.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/Diagnostics/WhatDoIHaveWriter.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -67,7 +67,8 @@ _writer.AddDivider('-'); var contents = new[] { - pluginType.PluginType.AssemblyQualifiedName ?? pluginType.PluginType.Name, string.Empty, + pluginType.PluginType.AssemblyQualifiedName ?? pluginType.PluginType.Name, + string.Empty, string.Empty }; Modified: trunk/Source/StructureMap/Emitting/Parameters/Methods.cs =================================================================== --- trunk/Source/StructureMap/Emitting/Parameters/Methods.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/Emitting/Parameters/Methods.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -19,7 +19,8 @@ null, new[] { - typeof (Type), typeof (string), typeof (bool) + typeof (Type), typeof (string), + typeof (bool) }, null); public static MethodInfo GET_CHILD = Modified: trunk/Source/StructureMap/ErrorMessages.cs =================================================================== --- trunk/Source/StructureMap/ErrorMessages.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/ErrorMessages.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; using System.Resources; -using System.Text; namespace StructureMap { @@ -14,7 +12,7 @@ for (int i = 0; i < args.Length; i++) { object arg = args[i]; - Type type = arg as Type; + var type = arg as Type; if (type != null) { args[i] = type.AssemblyQualifiedName; @@ -32,8 +30,8 @@ private static string getMessage(int errorCode) { - ResourceManager resources = new ResourceManager(typeof(StructureMapException)); + var resources = new ResourceManager(typeof (StructureMapException)); return resources.GetString(errorCode.ToString()); } } -} +} \ No newline at end of file Modified: trunk/Source/StructureMap/ExplicitArgsExpression.cs =================================================================== --- trunk/Source/StructureMap/ExplicitArgsExpression.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/ExplicitArgsExpression.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -38,7 +38,7 @@ /// <returns></returns> public ExplicitArgsExpression With<T>(T arg) { - _args.Set<T>(arg); + _args.Set(arg); return this; } Modified: trunk/Source/StructureMap/IBootstrapper.cs =================================================================== --- trunk/Source/StructureMap/IBootstrapper.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/IBootstrapper.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -1,11 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Text; - namespace StructureMap { public interface IBootstrapper { void BootstrapStructureMap(); } -} +} \ No newline at end of file Modified: trunk/Source/StructureMap/IContainer.cs =================================================================== --- trunk/Source/StructureMap/IContainer.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/IContainer.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -1,7 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using StructureMap.Configuration.DSL; using StructureMap.Graph; using StructureMap.Pipeline; @@ -10,15 +9,16 @@ public interface IContainer { IModel Model { get; } + PluginGraph PluginGraph { get; } T GetInstance<T>(string instanceKey); T GetInstance<T>(); T FillDependencies<T>(); object FillDependencies(Type type); - + IList<T> GetAllInstances<T>(); - + T GetInstance<T>(Instance instance); IList GetAllInstances(Type type); @@ -68,7 +68,6 @@ IExplicitProperty With(string argName); void AssertConfigurationIsValid(); object GetInstance(Type type, ExplicitArguments args); - PluginGraph PluginGraph { get; } void EjectAllInstancesOf<T>(); } } \ No newline at end of file Modified: trunk/Source/StructureMap/InstanceBuilder.cs =================================================================== --- trunk/Source/StructureMap/InstanceBuilder.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/InstanceBuilder.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -11,9 +11,7 @@ { private Container _manager; - public InstanceBuilder() - { - } + public InstanceBuilder(){} public abstract Type PluggedType { get; } Modified: trunk/Source/StructureMap/InstanceBuilderList.cs =================================================================== --- trunk/Source/StructureMap/InstanceBuilderList.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/InstanceBuilderList.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -7,9 +7,9 @@ { public class InstanceBuilderList { + private readonly Dictionary<string, Type> _aliases = new Dictionary<string, Type>(); private readonly Dictionary<Type, InstanceBuilder> _builders = new Dictionary<Type, InstanceBuilder>(); private readonly Type _pluginType; - private readonly Dictionary<string, Type> _aliases = new Dictionary<string, Type>(); public InstanceBuilderList(Type pluginType, IEnumerable<Plugin> plugins) @@ -44,7 +44,7 @@ // Add a missing PluggedType if we can if (TypeRules.CanBeCast(_pluginType, pluggedType)) { - Plugin plugin = new Plugin(pluggedType); + var plugin = new Plugin(pluggedType); processPlugin(plugin); return _builders[pluggedType]; @@ -66,7 +66,7 @@ private void processPlugin(Plugin plugin) { - processPlugins(new Plugin[] { plugin }); + processPlugins(new[] {plugin}); } private void processPlugins(IEnumerable<Plugin> plugins) @@ -90,7 +90,7 @@ private List<InstanceBuilder> createInstanceBuilders(IEnumerable<Plugin> plugins) { - List<Plugin> list = new List<Plugin>(); + var list = new List<Plugin>(); foreach (Plugin plugin in plugins) { if (!_builders.ContainsKey(plugin.PluggedType)) @@ -99,13 +99,13 @@ } } - InstanceBuilderAssembly builderAssembly = new InstanceBuilderAssembly(list); + var builderAssembly = new InstanceBuilderAssembly(list); return builderAssembly.Compile(); } public void Add(Plugin plugin) { - Add(new Plugin[] {plugin}); + Add(new[] {plugin}); } public void Add(IEnumerable<Plugin> plugins) Modified: trunk/Source/StructureMap/InstanceCache.cs =================================================================== --- trunk/Source/StructureMap/InstanceCache.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/InstanceCache.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -6,7 +6,8 @@ { internal class InstanceCache { - private Dictionary<Type, Dictionary<Instance, object>> _objects = new Dictionary<Type, Dictionary<Instance, object>>(); + private readonly Dictionary<Type, Dictionary<Instance, object>> _objects = + new Dictionary<Type, Dictionary<Instance, object>>(); private Dictionary<Instance, object> getCache(Type type) { @@ -16,7 +17,7 @@ } else { - Dictionary<Instance, object> cache = new Dictionary<Instance, object>(); + var cache = new Dictionary<Instance, object>(); _objects.Add(type, cache); return cache; } Modified: trunk/Source/StructureMap/InstanceFactory.cs =================================================================== --- trunk/Source/StructureMap/InstanceFactory.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/InstanceFactory.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -56,10 +56,10 @@ public static InstanceFactory CreateFactoryForType(Type concreteType, ProfileManager profileManager) { - PluginFamily family = new PluginFamily(concreteType); + var family = new PluginFamily(concreteType); family.Seal(); - InstanceFactory factory = new InstanceFactory(family); + var factory = new InstanceFactory(family); Instance instance = family.GetDefaultInstance(); if (instance != null) @@ -134,8 +134,6 @@ return _instances.Retrieve(name); } - #endregion - public void ImportFrom(PluginFamily family) { family.EachInstance(instance => _instances.Fill(instance.Name, instance)); @@ -145,5 +143,7 @@ { _instances.Clear(); } + + #endregion } } \ No newline at end of file Modified: trunk/Source/StructureMap/InstanceMemento.cs =================================================================== --- trunk/Source/StructureMap/InstanceMemento.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/InstanceMemento.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -84,8 +84,8 @@ public virtual Plugin FindPlugin(PluginFamily family) { - Plugin plugin = getPluginByType(family) ?? family.FindPlugin(innerConcreteKey ?? string.Empty) ?? - family.FindPlugin(Plugin.DEFAULT); + Plugin plugin = getPluginByType(family) ?? family.FindPlugin(innerConcreteKey ?? string.Empty) ?? + family.FindPlugin(Plugin.DEFAULT); if (plugin == null) { @@ -120,7 +120,6 @@ try { returnValue = getPropertyValue(Key); - } catch (Exception ex) { @@ -144,7 +143,6 @@ protected abstract string getPropertyValue(string Key); - /// <summary> /// Returns the named child InstanceMemento /// </summary> @@ -229,7 +227,5 @@ return new ConfiguredInstance(this, pluginGraph, pluginType); } - - } } \ No newline at end of file Modified: trunk/Source/StructureMap/MementoSource.cs =================================================================== --- trunk/Source/StructureMap/MementoSource.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/MementoSource.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -13,14 +13,11 @@ [PluginFamily] public abstract class MementoSource { + private readonly Dictionary<string, InstanceMemento> _externalMementos = + new Dictionary<string, InstanceMemento>(); + private InstanceMemento _defaultMemento; - private Dictionary<string, InstanceMemento> _externalMementos = new Dictionary<string, InstanceMemento>(); - private PluginFamily _family; - protected MementoSource() : base() - { - } - public InstanceMemento DefaultMemento { get { return _defaultMemento; } @@ -40,11 +37,7 @@ /// </summary> public abstract string Description { get; } - public PluginFamily Family - { - get { return _family; } - set { _family = value; } - } + public PluginFamily Family { get; set; } /// <summary> /// Retrieves the named InstanceMemento @@ -115,7 +108,7 @@ /// <returns></returns> public InstanceMemento[] GetAllMementos() { - ArrayList list = new ArrayList(); + var list = new ArrayList(); list.AddRange(fetchInternalMementos()); list.AddRange(_externalMementos.Values); Modified: trunk/Source/StructureMap/MemoryInstanceMemento.cs =================================================================== --- trunk/Source/StructureMap/MemoryInstanceMemento.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/MemoryInstanceMemento.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -18,7 +18,7 @@ /// <returns></returns> public static MemoryInstanceMemento CreateReferencedInstanceMemento(string referenceKey) { - MemoryInstanceMemento memento = new MemoryInstanceMemento(); + var memento = new MemoryInstanceMemento(); memento._referenceKey = referenceKey; memento._isReference = true; @@ -32,7 +32,7 @@ /// <returns></returns> public static MemoryInstanceMemento CreateDefaultInstanceMemento() { - MemoryInstanceMemento memento = new MemoryInstanceMemento(); + var memento = new MemoryInstanceMemento(); memento._referenceKey = string.Empty; memento._isReference = true; Modified: trunk/Source/StructureMap/Model.cs =================================================================== --- trunk/Source/StructureMap/Model.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/Model.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -8,9 +8,9 @@ { public interface IModel { + IEnumerable<PluginTypeConfiguration> PluginTypes { get; } bool HasDefaultImplementationFor(Type pluginType); bool HasDefaultImplementationFor<T>(); - IEnumerable<PluginTypeConfiguration> PluginTypes { get; } IEnumerable<IInstance> InstancesOf(Type pluginType); IEnumerable<IInstance> InstancesOf<T>(); bool HasImplementationsFor(Type pluginType); @@ -26,9 +26,11 @@ _graph = graph; } + #region IModel Members + public bool HasDefaultImplementationFor(Type pluginType) { - var family = PluginTypes.FirstOrDefault(x => x.PluginType == pluginType); + PluginTypeConfiguration family = PluginTypes.FirstOrDefault(x => x.PluginType == pluginType); return family == null ? false : family.Default != null; } @@ -39,10 +41,7 @@ public IEnumerable<PluginTypeConfiguration> PluginTypes { - get - { - return _graph.PluginTypes; - } + get { return _graph.PluginTypes; } } public IEnumerable<IInstance> InstancesOf(Type pluginType) @@ -52,7 +51,7 @@ public IEnumerable<IInstance> InstancesOf<T>() { - return _graph.InstancesOf(typeof(T)); + return _graph.InstancesOf(typeof (T)); } public bool HasImplementationsFor(Type pluginType) @@ -62,7 +61,9 @@ public bool HasImplementationsFor<T>() { - return HasImplementationsFor(typeof(T)); + return HasImplementationsFor(typeof (T)); } + + #endregion } } \ No newline at end of file Modified: trunk/Source/StructureMap/ObjectFactory.cs =================================================================== --- trunk/Source/StructureMap/ObjectFactory.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/ObjectFactory.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -19,6 +19,11 @@ private static IContainer _container; private static string _profile = string.Empty; + public static IModel Model + { + get { return container.Model; } + } + private static event Notify _notify; /// <summary> @@ -105,14 +110,6 @@ container.Inject(name, instance); } - public static IModel Model - { - get - { - return container.Model; - } - } - [Obsolete("Please use Inject<PLUGINTYPE>(name) instead.")] public static void InjectStub<PLUGINTYPE>(string name, PLUGINTYPE stub) { Modified: trunk/Source/StructureMap/PipelineGraph.cs =================================================================== --- trunk/Source/StructureMap/PipelineGraph.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/PipelineGraph.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -3,7 +3,6 @@ using StructureMap.Diagnostics; using StructureMap.Graph; using StructureMap.Pipeline; -using System.Linq; namespace StructureMap { @@ -25,13 +24,12 @@ = new Dictionary<Type, IInstanceFactory>(); private readonly GenericsPluginGraph _genericsGraph = new GenericsPluginGraph(); + private readonly GraphLog _log; private readonly ProfileManager _profileManager; private MissingFactoryFunction _missingFactory = (pluginType, profileManager) => null; - private GraphLog _log; - public PipelineGraph(PluginGraph graph) { _profileManager = graph.ProfileManager; @@ -45,7 +43,7 @@ } else { - InstanceFactory factory = new InstanceFactory(family); + var factory = new InstanceFactory(family); _factories.Add(family.PluginType, factory); } } @@ -56,6 +54,41 @@ get { return _log; } } + public MissingFactoryFunction OnMissingFactory + { + set { _missingFactory = value; } + } + + public string CurrentProfile + { + get { return _profileManager.CurrentProfile; } + set { _profileManager.CurrentProfile = value; } + } + + public IEnumerable<PluginTypeConfiguration> PluginTypes + { + get + { + foreach (PluginTypeConfiguration configuration in _genericsGraph.Families) + { + yield return configuration; + } + + foreach (var pair in _factories) + { + IInstanceFactory factory = pair.Value; + + yield return new PluginTypeConfiguration + { + Default = _profileManager.GetDefault(factory.PluginType), + PluginType = factory.PluginType, + Policy = factory.Policy, + Instances = factory.Instances + }; + } + } + } + public void ImportFrom(PluginGraph graph) { foreach (PluginFamily family in graph.PluginFamilies) @@ -73,17 +106,6 @@ _profileManager.ImportFrom(graph.ProfileManager); } - public MissingFactoryFunction OnMissingFactory - { - set { _missingFactory = value; } - } - - public string CurrentProfile - { - get { return _profileManager.CurrentProfile; } - set { _profileManager.CurrentProfile = value; } - } - public IInstanceFactory ForType(Type pluginType) { createFactoryIfMissing(pluginType); @@ -155,7 +177,7 @@ public void Inject<PLUGINTYPE>(PLUGINTYPE instance) { - LiteralInstance literalInstance = new LiteralInstance(instance); + var literalInstance = new LiteralInstance(instance); ForType(typeof (PLUGINTYPE)).AddInstance(literalInstance); SetDefault(typeof (PLUGINTYPE), literalInstance); } @@ -181,35 +203,9 @@ return new IInstance[0]; } - public IEnumerable<PluginTypeConfiguration> PluginTypes - { - get - { - foreach (PluginTypeConfiguration configuration in _genericsGraph.Families) - { - yield return configuration; - } - - foreach (var pair in _factories) - { - var factory = pair.Value; - - yield return new PluginTypeConfiguration() - { - Default = _profileManager.GetDefault(factory.PluginType), - PluginType = factory.PluginType, - Policy = factory.Policy, - Instances = factory.Instances - }; - } - } - - - } - public List<IInstance> GetAllInstances() { - List<IInstance> list = new List<IInstance>(); + var list = new List<IInstance>(); foreach (var pair in _factories) { Modified: trunk/Source/StructureMap/PluginGraphBuilder.cs =================================================================== --- trunk/Source/StructureMap/PluginGraphBuilder.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/PluginGraphBuilder.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -18,11 +18,11 @@ // Only used in testing public static PluginGraph BuildFromXml(XmlDocument document) { - GraphLog log = new GraphLog(); + var log = new GraphLog(); ConfigurationParser[] parsers = ConfigurationParserBuilder.GetParsers(document.DocumentElement, log); - PluginGraphBuilder builder = new PluginGraphBuilder(parsers, new Registry[0], log); - + var builder = new PluginGraphBuilder(parsers, new Registry[0], log); + return builder.Build(); } @@ -35,7 +35,7 @@ #region constructors public PluginGraphBuilder(ConfigurationParser parser) - : this(new ConfigurationParser[] {parser}, new Registry[0], new GraphLog()) + : this(new[] {parser}, new Registry[0], new GraphLog()) { } @@ -56,8 +56,8 @@ /// <returns></returns> public PluginGraph Build() { - GraphBuilder graphBuilder = new GraphBuilder(_registries, _graph); - + var graphBuilder = new GraphBuilder(_registries, _graph); + forAllParsers(p => { _graph.Log.StartSource(p.Description); @@ -80,6 +80,5 @@ action(parser); } } - } } \ No newline at end of file Modified: trunk/Source/StructureMap/Properties/AssemblyInfo.cs =================================================================== --- trunk/Source/StructureMap/Properties/AssemblyInfo.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/Properties/AssemblyInfo.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -7,9 +7,9 @@ // associated with an assembly. // -[assembly : AssemblyTitle("StructureMap")] -[assembly : AssemblyDescription("Main Library")] -[assembly : +[assembly: AssemblyTitle("StructureMap")] +[assembly: AssemblyDescription("Main Library")] +[assembly: InternalsVisibleTo( "StructureMap.AutoMocking, PublicKey=00240000048000009400000006020000002400005253413100040000010001008d9a2a76e43cd9b1b1944b1f3b489a046b33f0bcd755b25cc5d3ed7b18ded38240d6db7578cd986c72d3feb4f94a7ab26fcfa41e3e4f41cf2c029fba91159db05c44d63f0b2bfac24353a07f4a1230dd3d4240340adafa2275277fa083c75958062cd0e60016701db6af7ae718efdf1e802a840595b49c290964255b3c60c494" )] Modified: trunk/Source/StructureMap/ReflectionHelper.cs =================================================================== --- trunk/Source/StructureMap/ReflectionHelper.cs 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/ReflectionHelper.cs 2008-10-05 03:02:08 UTC (rev 173) @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; +using System; using System.Linq.Expressions; using System.Reflection; -using System.Text; namespace StructureMap { @@ -12,13 +9,13 @@ public static PropertyInfo GetProperty<MODEL>(Expression<Func<MODEL, object>> expression) { MemberExpression memberExpression = getMemberExpression(expression); - return (PropertyInfo)memberExpression.Member; + return (PropertyInfo) memberExpression.Member; } public static PropertyInfo GetProperty<MODEL, T>(Expression<Func<MODEL, T>> expression) { MemberExpression memberExpression = getMemberExpression(expression); - return (PropertyInfo)memberExpression.Member; + return (PropertyInfo) memberExpression.Member; } private static MemberExpression getMemberExpression<MODEL, T>(Expression<Func<MODEL, T>> expression) @@ -26,7 +23,7 @@ MemberExpression memberExpression = null; if (expression.Body.NodeType == ExpressionType.Convert) { - var body = (UnaryExpression)expression.Body; + var body = (UnaryExpression) expression.Body; memberExpression = body.Operand as MemberExpression; } else if (expression.Body.NodeType == ExpressionType.MemberAccess) @@ -35,14 +32,12 @@ } - if (memberExpression == null) throw new ArgumentException("Not a member access", "member"); return memberExpression; } public static MethodInfo GetMethod<T>(Expression<Func<T, object>> expression) { - MethodCallExpression methodCall = expression.Body is UnaryExpression ? (MethodCallExpression) ((UnaryExpression) expression.Body).Operand @@ -53,15 +48,14 @@ public static MethodInfo GetMethod<T, U>(Expression<Func<T, U>> expression) { - MethodCallExpression methodCall = (MethodCallExpression)expression.Body; + var methodCall = (MethodCallExpression) expression.Body; return methodCall.Method; } public static MethodInfo GetMethod<T, U, V>(Expression<Func<T, U, V>> expression) { - MethodCallExpression methodCall = (MethodCallExpression)expression.Body; + var methodCall = (MethodCallExpression) expression.Body; return methodCall.Method; } - } -} +} \ No newline at end of file Deleted: trunk/Source/StructureMap/StructureMap.ndoc =================================================================== --- trunk/Source/StructureMap/StructureMap.ndoc 2008-10-05 02:50:36 UTC (rev 172) +++ trunk/Source/StructureMap/StructureMap.ndoc 2008-10-05 03:02:08 UTC (rev 173) @@ -1,299 +0,0 @@ -<project SchemaVersion="1.3"> - <assemblies> - <assembly location="C:\PIC\Code\Catalyst\Application\StructureMap\StructureMap\bin\Debug\StructureMap.dll" documentation="C:\PIC\Code\Catalyst\Application\StructureMap\StructureMap\StructureMap.xml" /> - </assemblies> - <namespaces> - <namespace name="StructureMap"></namespace> - <namespace name="StructureMap.Caching"></namespace> - <namespace name="StructureMap.Emitting"></namespace> - <namespace name="StructureMap.Emitting.Parameters"></namespace> - <namespace name="StructureMap.Logging"></namespace> - <namespace name="StructureMap.Source"></namespace> - <namespace name="StructureMap.Verification"></namespace> - </namespaces> - <documenters> - <documenter name="JavaDoc"> - <property name="OutputDirectory" value=".\doc\" /> - <property name="ShowMissingSummaries" value="False" /> - <property name="ShowMissingRemarks" value="False" /> - <property name="ShowMissingParams" value="False" /> - <property name="ShowMissingReturns" value="False" /> - <property name="ShowMissingValues" value="False" /> - <property name="DocumentExplicitInterfaceImplementations" value="False" /> - <property name="DocumentInternals" value="False" /> - <property name="DocumentProtected" value="True" /> - <property name="DocumentSealedProtected" value="False" /> - <property name="DocumentPrivates" value="False" /> - <property name="DocumentProtectedInternalAsProtected" value="False" /> - <property name="DocumentEmptyNamespaces" value="False" /> - <property name="SkipNamespacesWithoutSummaries" value="False" /> - <property name="EditorBrowsableFilter" value="Off" /> - <property name="IncludeAssemblyVersion" value="False" /> - <property name="CopyrightText" value="" /> - <property name="CopyrightHref" value="" /> - <property name="ReferencesPath" value="" /> - <property name="FeedbackEmailAddress" value="" /> - <property name="UseNamespaceDocSummaries" value="False" /> - <property name="AutoPropertyBackerSummaries" value="False" /> - <property name="AutoDocumentConstructors" value="True" /> - <property name="GetExternalSummaries" value="True" /> - <property name="Preliminary" value="False" /> - <property name="UseNDocXmlFile" value="" /> - <property name="CleanIntermediates" value="False" /> - <property name="DocumentAttributes" value="False" /> - <property name="ShowTypeIdInAttributes" value="False" /> - <property name="DocumentedAttributes" value="" /> - <property name="InheritPlatformSupport" value="True" /> - <property name="DefaultOSSupport" value="all" /> - <property name="SupportCompactFrameworkByDefault" value="False" /> - <property name="SupportMONOFrameworkByDefault" value="False" /> - <property name="AdditionalFrameworkList" value="" /> - <property name="AdditionalOSList" value="" /> - </documenter> - <documenter name="LaTeX"> - <property name="OutputDirectory" value=".\doc\" /> - <property name="TextFileFullName" value="Documentation.tex" /> - <property name="TexFileBaseName" value="Documentation" /> - <property name="LatexCompiler" value="latex" /> - <property name="TexFileFullPath" value=".\doc\Documentation.tex" /> - <property name="ShowMissingSummaries" value="False" /> - <property name="ShowMissingRemarks" value="False" /> - <property name="ShowMissingParams" value="False" /> - <property name="ShowMissingReturns" value="False" /> - <property name="ShowMissingValues" value="False" /> - <property name="DocumentExplicitInterfaceImplementations" value="False" /> - <property name="DocumentInternals" value="False" /> - <property name="DocumentProtected" value="True" /> - <property name="DocumentSealedProtected" value="False" /> - <property name="DocumentPrivates" value="False" /> - <property name="DocumentProtectedInternalAsProtected" value="False" /> - <property name="DocumentEmptyNamespaces" value="False" /> - <property name="SkipNamespacesWithoutSummaries" value="False" /> - <property name="EditorBrowsableFilter" value="Off" /> - <property name="IncludeAssemblyVersion" value="False" /> - <property name="CopyrightText" value="" /> - <property name="CopyrightHref" value="" /> - <property name="ReferencesPath" value="" /> - <property name="FeedbackEmailAddress" value="" /> - <property name="UseNamespaceDocSummaries" value="False" /> - <property name="AutoPropertyBackerSummaries" value="False" /> - <property name="AutoDocumentConstructors" value="True" /> - <property name="GetExternalSummaries" value="True" /> - <property name="Preliminary" value="False" /> - <property name="UseNDocXmlFile" value="" /> - <property name="CleanIntermediates" value="False" /> - <property name="DocumentAttributes" value="False" /> - <property name="ShowTypeIdInAttributes" value="False" /> - <property name="DocumentedAttributes" value="" /> - <property name="InheritPlatformSupport" value="True" /> - <property name="DefaultOSSupport" value="all" /> - <property name="SupportCompactFrameworkByDefault" value="False" /> - <property name="SupportMONOFrameworkByDefault" value="False" /> - <property name="AdditionalFrameworkList" value="" /> - <property name="AdditionalOSList" value="" /> - </documenter> - <documenter name="LinearHtml"> - <property name="IncludeTypeMemberDetails" value="False" /> - <property name="OutputDirectory" value=".\doc\" /> - <property name="MethodParametersInTable" value="False" /> - <property name="TypeIncludeRegexp" value="" /> - <property name="NamespaceExcludeRegexp" value="" /> - <property name="Title" value="An NDoc Documented Class Library" /> - <property name="IncludeHierarchy" value="False" /> - <property name="SortTOCByNamespace" value="True" /> - <property name="HeaderHtml" value="" /> - <property name="FooterHtml" value="" /> - <property name="FilesToInclude" value="" /> - <property name="ShowMissingSummaries" value="False" /> - <property name="ShowMissingRemarks" value="False" /> - <property name="ShowMissingParams" value="False" /> - <property name="ShowMissingReturns" value="False" /> - <property name="ShowMissingValues" value="False" /> - <property name="DocumentExplicitInterfaceImplementations" value="False" /> - <property name="DocumentInternals" value="False" /> - <property name="DocumentProtected" value="True" /> - <property name="DocumentSealedProtected" value="False" /> - <property name="DocumentPrivates" value="False" /> - <property name="DocumentProtectedInternalAsProtected" value="False" /> - <property name="DocumentEmptyNamespaces" value="False" /> - <property name="SkipNamespacesWithoutSummaries" value="False" /> - <property name="EditorBrowsableFilter" value="Off" /> - <property name="IncludeAssemblyVersion" value="False" /> - <property name="CopyrightText" value="" /> - <property name="CopyrightHref" value="" /> - <property name="ReferencesPath" value="" /> - <property name="FeedbackEmailAddress" value="" /> - <property name="UseNamespaceDocSummaries" value="False" /> - <property name="AutoPropertyBackerSummaries" value="False" /> - <property name="AutoDocumentConstructors" value="True" /> - <property name="GetExternalSummaries" value="True" /> - <property name="Preliminary" value="False" /> - <property name="UseNDocXmlFile" value="" /> - <property name="CleanIntermediates" value="False" /> - <property name="DocumentAttributes" value="False" /> - <property name="ShowTypeIdInAttributes" value="False" /> - <property name="DocumentedAttributes" value="" /> - <property name="InheritPlatformSupport" value="True" /> - <property name="DefaultOSSupport" value="all" /> - <property name="SupportCompactFrameworkByDefault" value="False" /> - <property name="SupportMONOFrameworkByDefault" value="False" /> - <property name="AdditionalFrameworkList" value="" /> - <property name="AdditionalOSList" value="" /> - </documenter> - <documenter name="MSDN"> - <property name="OutputDirectory" value=".\doc\" /> - <property name="HtmlHelpName" value="Documentation" /> - <property name="IncludeFavorites" value="False" /> - <property name="Title" value="An NDoc Documented Class Library" /> - <property name="DefaultTOC" value="" /> - <property name=... [truncated message content] |