Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Common.Content.Validation.MustReferenceContent Class Reference

This type defines part of the Beamable ContentObject validation process. More...

Inheritance diagram for Beamable.Common.Content.Validation.MustReferenceContent:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Common.Content.Validation.MustReferenceContent:
Collaboration graph
[legend]

Public Member Functions

 MustReferenceContent (bool allowNull=false, params Type[] allowedTypes)
 
override void Validate (ContentValidationArgs args)
 Performs the validation operation on the field marked with the ValidationAttribute. More...
 

Properties

bool AllowNull [getset]
 
Type[] AllowedTypes [getset]
 

Additional Inherited Members

- Static Protected Member Functions inherited from Beamable.Common.Content.Validation.ValidationAttribute
static bool IsNumericType (Type type)
 Determines if Type is a Numeric Type. Used by some ValidationAttribute subclasses. More...
 

Detailed Description

This type defines part of the Beamable ContentObject validation process.

Related Links

img beamable-logo

Member Function Documentation

◆ Validate()

override void Beamable.Common.Content.Validation.MustReferenceContent.Validate ( ContentValidationArgs  args)
inlinevirtual

Performs the validation operation on the field marked with the ValidationAttribute.

Parameters
args

Implements Beamable.Common.Content.Validation.ValidationAttribute.


The documentation for this class was generated from the following file: