NoIndexAttribute Class

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

Provides an attribute for marking properties that should not be indexed for fulltext search.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class NoIndexAttribute : Attribute, _Attribute
Inheritance:
System.Object → System.Attribute → NoIndexAttribute
Attributes:
System.AttributeUsageAttribute

Constructors

NoIndexAttribute() Initializes a new instance of the NoIndexAttribute class.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.