Beamable SDK
|
Implement this interface over any Attribute to be able to use the existing ReflectionCache utilities that validate things with respect to attributes that are used to name members. More...
Public Member Functions | |
AttributeValidationResult | AreValidNameForType (MemberInfo member, string[] potentialNames) |
A function that validates the list of names given to the implementing attribute instance. More... | |
Public Member Functions inherited from Beamable.Common.Reflection.IReflectionAttribute | |
AttributeValidationResult | IsAllowedOnMember (MemberInfo member) |
Takes in the MemberInfo associated with this attribute and returns a AttributeValidationResult. More... | |
Properties | |
string[] | Names [get] |
A list of names that must be unique between all uses of the implementing attribute. | |
Implement this interface over any Attribute to be able to use the existing ReflectionCache utilities that validate things with respect to attributes that are used to name members.
AttributeValidationResult Beamable.Common.Reflection.INamingAttribute.AreValidNameForType | ( | MemberInfo | member, |
string[] | potentialNames | ||
) |
A function that validates the list of names given to the implementing attribute instance.
Implemented in Beamable.Server.CallableAttribute, and Beamable.Server.StorageObjectAttribute.