/// <summary> /// Initializes a new instance of the <see cref="ClassMapPropertyDescriptorBase"/> class. /// </summary> /// <param name="mappingStore">The mapping store.</param> /// <param name="classMap">The class map.</param> protected ClassMapPropertyDescriptorBase(IMappingStore mappingStore, IClassMap classMap) { if (mappingStore == null) throw new ArgumentNullException("mappingStore"); if (classMap == null) throw new ArgumentNullException("classMap"); _mappingStore = mappingStore; ClassMap = classMap; _codeReplacer = new JavascriptMemberNameReplacer(_mappingStore); }
/// <summary> /// Initializes a new instance of the <see cref="ClassMapPropertyDescriptorBase"/> class. /// </summary> /// <param name="mappingStore">The mapping store.</param> /// <param name="classMap">The class map.</param> protected ClassMapPropertyDescriptorBase(IMappingStore mappingStore, IClassMap classMap) { if (mappingStore == null) { throw new ArgumentNullException("mappingStore"); } if (classMap == null) { throw new ArgumentNullException("classMap"); } _mappingStore = mappingStore; ClassMap = classMap; _codeReplacer = new JavascriptMemberNameReplacer(_mappingStore); }