Ejemplo n.º 1
0
        /// <summary>Loads the specified references.</summary>
        /// <param name="refs">References data.</param>
        internal void Load(ReferencesData refs)
        {
            Verify.Argument.IsNotNull(refs, nameof(refs));

            if (refs.Heads != null)
            {
                Heads.Load(refs.Heads);
            }
            if (refs.Remotes != null)
            {
                Remotes.Load(refs.Remotes);
            }
            if (refs.Tags != null)
            {
                Tags.Load(refs.Tags);
            }
        }