public IconReference(string refPath)
: this() {
if (string.IsNullOrEmpty(refPath)) {
throw new ArgumentNullException("refPath");
}
string[] refParams = refPath.Split(commaSeparator);
if (refParams.Length != 2 || string.IsNullOrEmpty(refParams[0]) || string.IsNullOrEmpty(refParams[1])) {
throw new ArgumentException("", "refPath");
}
moduleName = refParams[0];
ResourceId = int.Parse(refParams[1], System.Globalization.CultureInfo.InvariantCulture);
this.referencePath = refPath;
}