diff --git a/src/ContainerIntegration/DefaultInterceptionBehavior.cs b/src/ContainerIntegration/DefaultInterceptionBehavior.cs index 961c2b6..1da50d7 100644 --- a/src/ContainerIntegration/DefaultInterceptionBehavior.cs +++ b/src/ContainerIntegration/DefaultInterceptionBehavior.cs @@ -46,7 +46,7 @@ namespace Unity.Interception.ContainerIntegration } /// - /// Get the list of behaviors for the current type so that it can be added to. + /// GetOrDefault the list of behaviors for the current type so that it can be added to. /// /// Policy list. /// Implementation type to set behaviors for. diff --git a/src/ContainerIntegration/InterceptionBehavior.cs b/src/ContainerIntegration/InterceptionBehavior.cs index ec75e9b..4f6b1e2 100644 --- a/src/ContainerIntegration/InterceptionBehavior.cs +++ b/src/ContainerIntegration/InterceptionBehavior.cs @@ -46,7 +46,7 @@ namespace Unity.Interception.ContainerIntegration } /// - /// Get the list of behaviors for the current type so that it can be added to. + /// GetOrDefault the list of behaviors for the current type so that it can be added to. /// /// Policy list. /// Implementation type to set behaviors for. diff --git a/src/ContainerIntegration/InterceptionBehaviorBase.cs b/src/ContainerIntegration/InterceptionBehaviorBase.cs index 480b304..bf3d764 100644 --- a/src/ContainerIntegration/InterceptionBehaviorBase.cs +++ b/src/ContainerIntegration/InterceptionBehaviorBase.cs @@ -92,7 +92,7 @@ namespace Unity.Interception.ContainerIntegration } /// - /// Get the list of behaviors for the current type so that it can be added to. + /// GetOrDefault the list of behaviors for the current type so that it can be added to. /// /// Policy list. /// Implementation type to set behaviors for. diff --git a/src/ContainerIntegration/ObjectBuilder/IInterceptionBehaviorsPolicy.cs b/src/ContainerIntegration/ObjectBuilder/IInterceptionBehaviorsPolicy.cs index 6c009d4..bf41f1f 100644 --- a/src/ContainerIntegration/ObjectBuilder/IInterceptionBehaviorsPolicy.cs +++ b/src/ContainerIntegration/ObjectBuilder/IInterceptionBehaviorsPolicy.cs @@ -16,13 +16,13 @@ namespace Unity.Interception.ContainerIntegration.ObjectBuilder public interface IInterceptionBehaviorsPolicy : IBuilderPolicy { /// - /// Get the set of that can be used to resolve the + /// GetOrDefault the set of that can be used to resolve the /// behaviors. /// IEnumerable BehaviorKeys { get; } /// - /// Get the set of object to be used for the given type and + /// GetOrDefault the set of object to be used for the given type and /// interceptor. /// /// diff --git a/src/ContainerIntegration/ObjectBuilder/InterceptionBehaviorsPolicy.cs b/src/ContainerIntegration/ObjectBuilder/InterceptionBehaviorsPolicy.cs index 26513a8..194cc67 100644 --- a/src/ContainerIntegration/ObjectBuilder/InterceptionBehaviorsPolicy.cs +++ b/src/ContainerIntegration/ObjectBuilder/InterceptionBehaviorsPolicy.cs @@ -19,13 +19,13 @@ namespace Unity.Interception.ContainerIntegration.ObjectBuilder private readonly List _behaviorKeys = new List(); /// - /// Get the set of that can be used to resolve the + /// GetOrDefault the set of that can be used to resolve the /// behaviors. /// public IEnumerable BehaviorKeys => _behaviorKeys; /// - /// Get the set of object to be used for the given type and + /// GetOrDefault the set of object to be used for the given type and /// interceptor. /// /// diff --git a/src/InterceptionBehaviors/InterceptionBehaviorPipeline.cs b/src/InterceptionBehaviors/InterceptionBehaviorPipeline.cs index 2a4132a..55ac004 100644 --- a/src/InterceptionBehaviors/InterceptionBehaviorPipeline.cs +++ b/src/InterceptionBehaviors/InterceptionBehaviorPipeline.cs @@ -33,7 +33,7 @@ namespace Unity.Interception.InterceptionBehaviors } /// - /// Get the number of interceptors in this pipeline. + /// GetOrDefault the number of interceptors in this pipeline. /// public int Count => _interceptionBehaviors.Count; diff --git a/src/Interceptors/InstanceInterceptors/InterfaceInterception/InterfaceMethodOverride.cs b/src/Interceptors/InstanceInterceptors/InterfaceInterception/InterfaceMethodOverride.cs index 19dad59..219919b 100644 --- a/src/Interceptors/InstanceInterceptors/InterfaceInterception/InterfaceMethodOverride.cs +++ b/src/Interceptors/InstanceInterceptors/InterfaceInterception/InterfaceMethodOverride.cs @@ -437,10 +437,10 @@ namespace Unity.Interception.Interceptors.InstanceInterceptors.InterfaceIntercep ParameterInfo pi = _methodParameters[paramNum]; if (pi.ParameterType.IsByRef) { - // Get the original parameter value - address of the ref or out + // GetOrDefault the original parameter value - address of the ref or out EmitLoadArgument(il, paramNum); - // Get the value of this output parameter out of the Outputs collection + // GetOrDefault the value of this output parameter out of the Outputs collection il.Emit(OpCodes.Ldloc, methodReturn); il.Emit(OpCodes.Callvirt, IMethodReturnMethods.GetOutputs); EmitLoadConstant(il, outputArgNum++); diff --git a/src/Interceptors/TypeInterceptors/VirtualMethodInterception/InterceptingClassGeneration/MethodOverride.cs b/src/Interceptors/TypeInterceptors/VirtualMethodInterception/InterceptingClassGeneration/MethodOverride.cs index 64a3822..c04f2d9 100644 --- a/src/Interceptors/TypeInterceptors/VirtualMethodInterception/InterceptingClassGeneration/MethodOverride.cs +++ b/src/Interceptors/TypeInterceptors/VirtualMethodInterception/InterceptingClassGeneration/MethodOverride.cs @@ -451,11 +451,11 @@ namespace Unity.Interception.Interceptors.TypeInterceptors.VirtualMethodIntercep int outArgIndex = 0; foreach (int parameterIndex in OutputParameterIndices) { - // Get parameter value (the address) onto the stack) + // GetOrDefault parameter value (the address) onto the stack) Type elementType = paramMapper.GetElementType(_methodParameters[parameterIndex].ParameterType); EmitLoadArgument(il, parameterIndex); - // Get result of output parameter out of the results array + // GetOrDefault result of output parameter out of the results array il.Emit(OpCodes.Ldloc, methodReturn); il.Emit(OpCodes.Callvirt, IMethodReturnMethods.GetOutputs); EmitLoadConstant(il, outArgIndex); diff --git a/src/PolicyInjection/Pipeline/HandlerPipeline.cs b/src/PolicyInjection/Pipeline/HandlerPipeline.cs index 7fc4a89..dc51a2f 100644 --- a/src/PolicyInjection/Pipeline/HandlerPipeline.cs +++ b/src/PolicyInjection/Pipeline/HandlerPipeline.cs @@ -31,7 +31,7 @@ namespace Unity.Interception.PolicyInjection.Pipeline } /// - /// Get the number of handlers in this pipeline. + /// GetOrDefault the number of handlers in this pipeline. /// public int Count => _handlers.Count; diff --git a/src/PolicyInjection/Pipeline/PipelineManager.cs b/src/PolicyInjection/Pipeline/PipelineManager.cs index 8958226..a104102 100644 --- a/src/PolicyInjection/Pipeline/PipelineManager.cs +++ b/src/PolicyInjection/Pipeline/PipelineManager.cs @@ -48,7 +48,7 @@ namespace Unity.Interception.PolicyInjection.Pipeline } /// - /// Get the pipeline for the given method, creating it if necessary. + /// GetOrDefault the pipeline for the given method, creating it if necessary. /// /// Method to retrieve the pipeline for. /// Handlers to initialize the pipeline with