예제 #1
0
        /// <summary>Initializes a new instance of the <see cref="XMenuItem" /> class.</summary>
        /// <param name="func">The function.</param>
        /// <autogeneratedoc />
        /// TODO Edit XML Comment Template for #ctor
        public XMenuItem([NotNull] Owned <Func <Type, ILogger> > func)
        {
            if (func == null)
            {
                throw new ArgumentNullException(nameof(func));
            }

            func.Value(typeof(XMenuItem));
        }