Rebel.Framework.Persistence.DefaultAttributeTypeRegistry.GetAttributeType C# (CSharp) Method

GetAttributeType() public method

Gets the AttributeType by alias
public GetAttributeType ( string alias ) : AttributeType
alias string The alias.
return AttributeType
        public AttributeType GetAttributeType(string alias)
        {
            var result = TryGetAttributeType(alias);
            if (result.Success) return result.Result;
            throw new ArgumentException("The AttributeType with alias: " + alias + " has not been registered with the current IAttributeTypeRegistry");
        }