public EndpointConfigMark(string mark, TransportEngineId transport)
        {
            if (mark == null)
            {
                throw new ArgumentNullException(nameof(mark));
            }
            if (string.IsNullOrWhiteSpace(mark))
            {
                throw new ArgumentException("Mark can not be empty or null", nameof(mark));
            }

            Mark        = mark;
            Transport   = transport;
            Placeholder = string.Empty;
        }
 /// <summary>
 /// Set <see cref="Mark"/> based on <see cref="Type.FullName"/> property.
 /// </summary>
 /// <param name="type">Type used to create <see cref="Mark"/>.</param>
 /// <param name="transport">Config transport.</param>
 public EndpointConfigMark(Type type, TransportEngineId transport)
     : this(type.FullName, transport)
 {
 }