public void ConstructTagFields(Tag tag) { if (tag == null) { throw new ArgumentException("ConstructTagFields, tag must not be null", "tag"); } if (tag.Status != TagStatus.ConvertedToBitOK) { throw new ArgumentException("Tag must have status ConvertedToBitOK", "tag"); } HeaderConstructor.ConstructHeader(tag); FilterConstructor.ConstructFilter(tag); PartitionConstructor.ConstructPartition(tag); CompanyConstructor.ConstructCompanyPrefix(tag); ItemReferenceConstructor.ConstructItemReference(tag); SerialConstructor.ConstructReference(tag); }
public Normalizer() { _filters = FilterConstructor.GetFilters().GetAwaiter().GetResult(); }
public async Task FilterConstructorTest() { var result = await FilterConstructor.GetFilters(); Assert.AreEqual(3, result.Count); }