Example #1
0
 public TypeGenerator(ITypeGeneratorOptions typeGeneratorOptions, IWrappedTypeDictionary wrappedTypeDictionary)
     : base(wrappedTypeDictionary)
 {
     _typeGeneratorOptions = typeGeneratorOptions ?? new TypeGeneratorOptionsBuilder().Build();
     _memberGenerator      = new MemberGenerator(wrappedTypeDictionary);
 }
 public ContractGenerator(IContractGeneratorOptions contractGeneratorOptions, IWrappedTypeDictionary wrappedTypeDictionary)
     : base(wrappedTypeDictionary)
 {
     _contractGeneratorOptions = contractGeneratorOptions ?? new ContractGeneratorOptionsBuilder().Build();
     _memberGenerator          = new MemberGenerator(wrappedTypeDictionary);
 }