Rock.CheckIn.CheckInLocation.ContainsKey C# (CSharp) Метод

ContainsKey() публичный Метод

Determines whether the specified key contains key.
public ContainsKey ( object key ) : bool
key object The key.
Результат bool
        public bool ContainsKey( object key )
        {
            var additionalKeys = new List<string> { "LastCheckIn", "Schedules" };
            if ( additionalKeys.Contains( key.ToStringSafe() ) )
            {
                return true;
            }
            else
            {
                return Location.ContainsKey( key );
            }
        }