Assets/Watson/Scripts/Utilities/Config.cs
/// <summary>
/// Find BlueMix credentials by the service ID.
/// </summary>
/// <param name="serviceID">The ID of the service to find.</param>
/// <returns>Returns null if the credentials cannot be found.</returns>
Find BlueMix credentials by the service ID.
Find BlueMix credentials by the service ID .
public CredentialInfo FindCredentials(string serviceID)
        {
            foreach (var info in m_Credentials)
                if (info.m_ServiceID == serviceID)
                    return info;
            return null;
        }
public CredentialInfo FindCredentials ( string serviceID ) { foreach ( var info in m_Credentials ) if ( info . m_ServiceID == serviceID ) return info ; return null ; }
Find BlueMix credentials by the service ID.
Find BlueMix credentials by the service ID .
Returns null if the credentials cannot be found.
Returns null if the credentials cannot be found .
serviceID
string
The ID of the service to find.
The ID of the service to find .