public AttributedMarshallingModelGeneratorFactory(
     IMarshallingGeneratorFactory innerMarshallingGenerator,
     AttributedMarshallingModelOptions options)
 {
     Options = options;
     _innerMarshallingGenerator = innerMarshallingGenerator;
     // Unless overridden, default to using this generator factory for creating generators for collection elements.
     _elementMarshallingGenerator = this;
 }
        public AttributedMarshallingModelGeneratorFactory(
            IMarshallingGeneratorFactory innerMarshallingGenerator,
            IMarshallingGeneratorFactory elementMarshallingGenerator,
            AttributedMarshallingModelOptions options)
        {
            Options = options;
            _innerMarshallingGenerator = innerMarshallingGenerator;

            _elementMarshallingGenerator = elementMarshallingGenerator;
        }