Rhetos.Dsl.DefaultConcepts.AutoCodePropertyInfo.CheckSemantics C# (CSharp) Method

CheckSemantics() public method

public CheckSemantics ( IEnumerable existingConcepts ) : void
existingConcepts IEnumerable
return void
        public void CheckSemantics(IEnumerable<IConceptInfo> existingConcepts)
        {
            if (!(Property is ShortStringPropertyInfo) && !(Property is IntegerPropertyInfo))
                throw new DslSyntaxException("AutoCode is only available for ShortString and Integer properties.");
        }