C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
NotNullAttribute.cs
Go to the documentation of this file.
1
using
System;
2
3
namespace
AnalyzeRe.Attributes
4
{
8
[AttributeUsage(AttributeTargets.Property, Inherited =
true
, AllowMultiple =
false
)]
9
public
class
NotNullAttribute
:
ValidationAttribute
10
{
14
public
override
bool
IsValid
(
object
value) {
return
value !=
null
; }
15
}
16
}
AnalyzeRe.Attributes.NotNullAttribute
Specifies that the property with this attribute cannot be null when POSTing the resource to the serve...
Definition
NotNullAttribute.cs:10
AnalyzeRe.Attributes.NotNullAttribute.IsValid
override bool IsValid(object value)
Determines whether the given value is not null.
Definition
NotNullAttribute.cs:14
AnalyzeRe.Attributes.ValidationAttribute
Any attribute that can validate the value of a property.
Definition
ValidationAttribute.cs:8
AnalyzeRe.Attributes
Definition
APITypeAliasAttribute.cs:4
src
AnalyzeRe.Client
Attributes
NotNullAttribute.cs
Generated on Fri Dec 8 2023 15:18:43 for C# Client Library by
1.9.8