/// <summary>
        /// Creates the specified configure sample action.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="configureSampleAction">The configure sample action.</param>
        /// <param name="config">The configuration.</param>
        /// <returns></returns>
        public static T Create <T>(Action <T> configureSampleAction, SampleBuilderConfiguration config) where T : class
        {
            var result = SampleBuilder <T> .Init().SetConfiguration(config).ConfigureSample(configureSampleAction).Build().Result;

            return(result);
        }
        /// <summary>
        /// Creates the sample.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="obj">The object.</param>
        /// <param name="config">The configuration.</param>
        /// <returns></returns>
        public static T CreateSample <T>(this T obj, SampleBuilderConfiguration config = null) where T : class
        {
            var result = SampleBuilder <T> .Init(obj).SetConfiguration(config).ConfigureSample().Build().Result;

            return(result);
        }