Пример #1
0
        internal static object[] CreateAndCheckWrappers(object[] partDefinitions)
        {
            object[] wrappers = new WrapperGenerator <T>(partDefinitions, GetDefinitionWrappers).ToArray();
            PropertiesSignatureChecker <T> .CheckSignatures(wrappers);

            return(wrappers);
        }
 internal MappedDefinitions(object[] partDefinitions)
 {
     wrappers = partDefinitions
                .SelectMany(FilterNonDefinitions)
                .SelectMany(GetDefinitionWrappers)
                .ToArray();
     PropertiesSignatureChecker <T> .CheckSignatures(this);
 }