Example #1
0
        public static TFeature Populate <TFeature>(this IModuleStore store)
            where TFeature : new()
        {
            var feature = new TFeature();

            store.Populate(feature);
            return(feature);
        }
Example #2
0
 public static TypeFeature Populate(this IModuleStore store)
 => store.Populate <TypeFeature>();