public ProducerId ( string producerKey ) : System | ||
producerKey | string | |
return | System |
public ProducerId(string producerKey)
{
// Parse off the producerId
int p = producerKey.LastIndexOf(":");
if(p >= 0)
{
value = Int64.Parse(producerKey.Substring(p + 1));
producerKey = producerKey.Substring(0, p);
}
}
ProducerId::ProducerId ( ) : System | |
ProducerId::ProducerId ( |