Пример #1
0
        /// <inheritdoc />
        public void SetAccessPath(string path, bool validateHasBeenSet)
        {
            _accessPath         = path;
            _validateHasBeenSet = validateHasBeenSet;

            PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{_propertyName}()", validateHasBeenSet, _value);
        }
Пример #2
0
 /// <inheritdoc />
 public void SetAccessPath(string path, bool validateHasBeenSet)
 {
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(Old)}()", validateHasBeenSet, Old);
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(New)}()", validateHasBeenSet, New);
 }
Пример #3
0
 /// <inheritdoc />
 public void SetAccessPath(string path, bool validateHasBeenSet)
 {
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(First)}()", validateHasBeenSet, First);
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(Second)}()", validateHasBeenSet, Second);
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(Third)}()", validateHasBeenSet, Third);
 }
Пример #4
0
 /// <inheritdoc />
 public void SetAccessPath(string path, bool validateHasBeenSet)
 {
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(Data)}()", validateHasBeenSet, Data);
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(Next)}()", validateHasBeenSet, Next);
     PropagatePropertyAccessPathHelper.SetAccessPathForValue($"{path}->With{nameof(TotalCount)}()", validateHasBeenSet, TotalCount);
 }