Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Server.StorageObjectAttribute Class Reference
Inheritance diagram for Beamable.Server.StorageObjectAttribute:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Server.StorageObjectAttribute:
Collaboration graph
[legend]

Public Member Functions

 StorageObjectAttribute (string storageName, [System.Runtime.CompilerServices.CallerFilePath] string sourcePath="")
 
AttributeValidationResult IsAllowedOnMember (MemberInfo member)
 Takes in the MemberInfo associated with this attribute and returns a AttributeValidationResult. More...
 
AttributeValidationResult AreValidNameForType (MemberInfo member, string[] potentialNames)
 A function that validates the list of names given to the implementing attribute instance. More...
 

Properties

string StorageName [get]
 
string SourcePath [get]
 
string[] Names [get]
 
- Properties inherited from Beamable.Common.Reflection.INamingAttribute
string[] Names [get]
 A list of names that must be unique between all uses of the implementing attribute.
 

Member Function Documentation

◆ AreValidNameForType()

AttributeValidationResult Beamable.Server.StorageObjectAttribute.AreValidNameForType ( MemberInfo  member,
string[]  potentialNames 
)
inline

A function that validates the list of names given to the implementing attribute instance.

Returns
An AttributeValidationResult<T> with a clear message and ReflectionCache.ValidationResultType.

Implements Beamable.Common.Reflection.INamingAttribute.

◆ IsAllowedOnMember()

AttributeValidationResult Beamable.Server.StorageObjectAttribute.IsAllowedOnMember ( MemberInfo  member)
inline

Takes in the MemberInfo associated with this attribute and returns a AttributeValidationResult.

Implements Beamable.Common.Reflection.IReflectionAttribute.


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