Beispiel #1
0
 internal override void VerifyParameters(ParameterBuilder builder)
 {
     builder
     .AddRequirement($"{nameof(Type)} != null", Type != null)
     .AddRequirement($"{nameof(Push)} != null", Push != null);
     // todo: Check push fields/props
 }
Beispiel #2
0
 internal override void VerifyParameters(ParameterBuilder builder)
 {
     builder
     .AddRequirement($"{nameof(Nickname)} != null", Nickname != null)
     .AddRequirement($"{nameof(Model)} != null", Model != null)
     .AddRequirement($"{nameof(Manufacturer)} != null", Manufacturer != null)
     .AddRequirement($"{nameof(PushToken)} != null", PushToken != null)
     //.AddRequirement($"{nameof(AppVersion)} != something")
     .AddRequirement($"{nameof(Icon)} != null", Icon != null);
     //.AddRequirement($"{nameof(HasSms)} != null", HasSms != null);
 }