Пример #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;
			}