C# Client Library
A C# Client Library for the AnalyzeRe REST API
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)]
10  {
14  public override bool IsValid(object value) { return value != null; }
15  }
16 }
override bool IsValid(object value)
Determines whether the given value is not null.
Any attribute that can validate the value of a property.
Specifies that the property with this attribute cannot be null when POSTing the resource to the serve...