Affecto.Testing.SpecFlow.Identifiers.Get C# (CSharp) Method

Get() public method

public Get ( string textWithId ) : System.Guid
textWithId string
return System.Guid
        public Guid Get(string textWithId)
        {
            if (!IsTextAdded(textWithId))
            {
                throw new ArgumentException(string.Format("Text '{0}' not added.", textWithId), "textWithId");
            }
            return identifiedTexts.Single(text => text.Value.Equals(textWithId)).Key;
        }