/// <summary> /// Create a new ref pairing. /// </summary> /// <param name="st">method used to store this ref.</param> /// <param name="name">name of this ref.</param> /// <param name="id"> /// current value of the ref. /// </param> /// <param name="p">the first non-tag object that tag {@code id} points to.</param> public PeeledTag(Storage st, string name, ObjectId id, ObjectId p) : base(st, name, id) { _peeledObjectId = p; }
/// <summary> /// Create a new ref pairing. /// </summary> /// <param name="st">method used to store this ref.</param> /// <param name="name">name of this ref.</param> /// <param name="id"> /// current value of the ref. May be null to indicate a ref that /// does not exist yet. /// </param> protected ObjectIdRef(Storage st, string name, ObjectId id) { _name = name; _storage = st; _objectId = id; }
/// <summary> /// Create a new ref pairing. /// </summary> /// <param name="st">method used to store this ref.</param> /// <param name="name">name of this ref.</param> /// <param name="id"> /// current value of the ref. May be null to indicate a ref that /// does not exist yet. /// </param> public Unpeeled(Storage st, string name, ObjectId id) : base(st, name, id) { }
/// <summary> /// Create a new ref pairing. /// </summary> /// <param name="st">method used to store this ref.</param> /// <param name="name">name of this ref.</param> /// <param name="id"> /// current value of the ref. May be null to indicate a ref that /// does not exist yet. /// </param> public PeeledNonTag(Storage st, string name, ObjectId id) : base(st, name, id) { }