fCraft.RankKeyAttribute.Process C# (CSharp) Method

Process() public method

public Process ( string value ) : string
value string
return string
        public override string Process( string value )
        {
            if ( value.Length == 0 ) {
                Rank defaultRank = GetBlankValueSubstitute();
                if ( defaultRank == null ) {
                    return "";
                } else {
                    return defaultRank.FullName;
                }
            } else {
                return value;
            }
        }