Пример #1
0
        public bool TryGetBlobGroup(uint signature, int binarySize, int version,
                                    out BlobGroup group, out BlobGroupVersionAndBuildInfo infoForVersion)
        {
            Contract.Requires <ArgumentOutOfRangeException>(version.IsNotNone());

            group          = null;
            infoForVersion = null;

            var group_tag = GroupTags.FindGroupByTag(signature);

            return(TryGetBlobGroup(group_tag, version, ref group, ref infoForVersion));
        }
Пример #2
0
        bool TryGetBlobGroup(string tagString, int version,
                             out BlobGroup group, out BlobGroupVersionAndBuildInfo infoForVersion)
        {
            Contract.Requires <ArgumentOutOfRangeException>(version.IsNotNone());

            group          = null;
            infoForVersion = null;

            var group_tag = (GroupTagDatum)GroupTags.FindGroupByTag(tagString);

            return(TryGetBlobGroup(group_tag, version, ref group, ref infoForVersion));
        }