HelpPageSampleGenerator..::..SampleObjectFactories Property
Gets factories for the objects that the supported formatters will serialize as samples. Processed in order,
stopping when the factory successfully returns a non- object.
Namespace:
JiwaWebAPI.Areas.HelpPageAssembly: JiwaWebAPI (in JiwaWebAPI.dll)
Syntax
[SuppressMessageAttribute] public IList<Func<HelpPageSampleGenerator, Type, Object>> SampleObjectFactories { get; set; }
<SuppressMessageAttribute> _ Public Property SampleObjectFactories As IList(Of Func(Of HelpPageSampleGenerator, Type, Object)) Get Set
[SuppressMessageAttribute] public: property IList<Func<HelpPageSampleGenerator^, Type^, Object^>^>^ SampleObjectFactories { IList<Func<HelpPageSampleGenerator^, Type^, Object^>^>^ get (); void set (IList<Func<HelpPageSampleGenerator^, Type^, Object^>^>^ value); }
Remarks
C#
SampleObjectFactories.Insert(0, func)
C#
SampleObjectFactories.Add(func)