public ContentTypeWriter(ICodeGenerationOptions options, CodeDomProvider codeDomProvider, IContentTypeCodeBuilder codeBuilder, MemberNameValidator memberNameValidator) { _options = options ?? (ICodeGenerationOptions)ComposerMigrationOptions.Default; _codeDomProvider = codeDomProvider; _codeBuilder = codeBuilder; _memberNameValidator = memberNameValidator; }
private static TypeNameTransform CreateSubject(MemberNameValidator nameValidator, IComposerImportOptions options) { nameValidator = nameValidator ?? new Mock <MemberNameValidator>().Object; return(new TypeNameTransform(nameValidator, options)); }
private static TypeNameTransform CreateSubject(MemberNameValidator nameValidator, IComposerImportOptions options) { nameValidator = nameValidator ?? new Mock<MemberNameValidator>().Object; return new TypeNameTransform(nameValidator, options); }