Ejemplo n.º 1
0
        private ICmObjectOrId ParseGuidRep(ICmObjectRepository repo, string chunk)
        {
            var result = repo.GetObjectOrIdWithHvoFromGuid(new Guid(Convert.FromBase64String(chunk)));

            if (result == null)
            {
                throw new InvalidObjectGuidException();
            }
            return(result);
        }
Ejemplo n.º 2
0
		private ICmObjectOrId ParseGuidRep(ICmObjectRepository repo, string chunk)
		{
			var result = repo.GetObjectOrIdWithHvoFromGuid(new Guid(Convert.FromBase64String(chunk)));
			if (result == null)
				throw new InvalidObjectGuidException();
			return result;
		}