Documentation Coverage Report
Current view: top level - Cqrs/Infrastructure - PrivateReflectionDynamicObjectExtensions.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 1 100.0 %
Date: 2018-08-07 15:04:50

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="Chinchilla Software Limited">
       4             : // //   Copyright Chinchilla Software Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System.Dynamic;
      10             : 
      11             : namespace Cqrs.Infrastructure
      12             : {
      13             :         internal static class PrivateReflectionDynamicObjectExtensions
      14             :         {
      15             :                 /// <summary>
      16             :                 /// Convert the provided <paramref name="object"/> into a safe to use <see cref="DynamicObject"/>.
      17             :                 /// </summary>
      18           1 :                 public static dynamic AsDynamic(this object @object)
      19             :                 {
      20             :                         return PrivateReflectionDynamicObject.WrapObjectIfNeeded(@object);
      21             :                 }
      22             :         }
      23             : }

Generated by: LCOV version 1.12