public bool Equals(DocumentConfiguration other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return Equals(other.DocumentType, DocumentType); }
public bool Equals(DocumentConfiguration other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.DocumentType, DocumentType)); }
/// <summary> /// Registers single document /// </summary> public void RegisterDocument(Type documentType) { var documentConfiguration = new DocumentConfiguration(documentType); DocumentConfigurations[documentType] = documentConfiguration; }