private static PersonIdentifier CompositeIdentifier( IdentifierDefinition definition, params PersonIdentifier[] identifiers) => new PersonIdentifier( new CompositeIdentifierValue <PersonIdentifier>( identifiers.Where(_ => _.Value.Value != null).ToArray()), definition );
public PersonIdentifier(IIdentifierValue value, IdentifierDefinition definition) { Value = value; Definition = definition; }
public static Api.Client.Models.IdentifierDefinition ConvertToClientDefinition(this IdentifierDefinition definition) { return(new Api.Client.Models.IdentifierDefinition( definition.SystemName, ConvertToClientType <IdentifierDefinition>(definition.Type, ConvertToClientDefinition), definition.Name )); }
public static PersonIdentifier PersonIdentifier <T>(T value, IdentifierDefinition definition) => new PersonIdentifier(new SimpleIdentifierValue(value), definition);
private static PersonIdentifier PersonIdentifier <T>(T value, IdentifierDefinition definition) => Testing.Utils.Identifiers.PersonIdentifier(value, definition);