/// <summary>
        ///  Initializes a new instance of the <see cref="RawDataListParametersDto"/> class.
        /// </summary>
        public RawDataListParametersDto([NotNull] RawDataTargetEntityDto entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException(nameof(entity));
            }

            ClientId = ClientIdHelper.ClientId;
            Targets  = new[] { entity };
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RawDataInformationDto"/> class.
 /// </summary>
 /// <param name="entity">The entity this object belongs to.</param>
 /// <param name="key">A unique key that identifies this information object.</param>
 /// <exception cref="ArgumentNullException"><paramref name="entity"/> is <see langword="null" />.</exception>
 public RawDataInformationDto([NotNull] RawDataTargetEntityDto entity, int key)
 {
     Target = entity ?? throw new ArgumentNullException(nameof(entity));
     Key    = key;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RawDataInformationDto"/> class.
 /// </summary>
 public RawDataInformationDto()
 {
     Target = new RawDataTargetEntityDto();
 }