示例#1
0
 /// <summary>Create a new ref pairing.</summary>
 /// <remarks>Create a new ref pairing.</remarks>
 /// <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 internal Unpeeled(RefStorage st, string name, ObjectId id) : base(st, name
                                                                             , id)
 {
 }
示例#2
0
 /// <summary>Create a new ref pairing.</summary>
 /// <remarks>Create a new ref pairing.</remarks>
 /// <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 internal PeeledNonTag(RefStorage st, string name, ObjectId id) : base(st
                                                                                 , name, id)
 {
 }
示例#3
0
 /// <summary>Create a new ref pairing.</summary>
 /// <remarks>Create a new ref pairing.</remarks>
 /// <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 internal ObjectIdRef(RefStorage st, string name, ObjectId id)
 {
     this.name     = name;
     this.storage  = st;
     this.objectId = id;
 }
示例#4
0
 /// <summary>Create a new ref pairing.</summary>
 /// <remarks>Create a new ref pairing.</remarks>
 /// <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</code>
 /// points to.
 /// </param>
 public PeeledTag(RefStorage st, string name, ObjectId id, ObjectId p) : base(st,
                                                                              name, id)
 {
     peeledObjectId = p;
 }
示例#5
0
			/// <summary>Create a new ref pairing.</summary>
			/// <remarks>Create a new ref pairing.</remarks>
			/// <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 internal Unpeeled(RefStorage st, string name, ObjectId id) : base(st, name
				, id)
			{
			}
示例#6
0
		/// <summary>Create a new ref pairing.</summary>
		/// <remarks>Create a new ref pairing.</remarks>
		/// <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 internal ObjectIdRef(RefStorage st, string name, ObjectId id)
		{
			this.name = name;
			this.storage = st;
			this.objectId = id;
		}
示例#7
0
			/// <summary>Create a new ref pairing.</summary>
			/// <remarks>Create a new ref pairing.</remarks>
			/// <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 internal PeeledNonTag(RefStorage st, string name, ObjectId id) : base(st
				, name, id)
			{
			}
示例#8
0
			/// <summary>Create a new ref pairing.</summary>
			/// <remarks>Create a new ref pairing.</remarks>
			/// <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</code>
			/// points to.
			/// </param>
			public PeeledTag(RefStorage st, string name, ObjectId id, ObjectId p) : base(st, 
				name, id)
			{
				peeledObjectId = p;
			}