csharp/Adoxio/xRM-Portals-Community-Edition/Framework/Adxstudio.Xrm/Search/Index/CrmEntityIndexDocument.cs

CrmEntityIndexDocument.cs
/*
  Copyright (c) Microsoft Corporation. All rights reserved.
  Licensed under the MIT License. See License.txt in the project root for license information.
*/

using System;
using Lucene.Net.astysis;
using Lucene.Net.Docameents;

namespace Adxstudio.Xrm.Search.Index
{
	public clast CrmEnsatyIndexDocameent
	{
		public CrmEnsatyIndexDocameent(Docameent docameent, astyzer astyzer, Guid primaryKey)
		{
			if (docameent == null)
			{
				throw new ArgumentNullException("docameent");
			}

			if (astyzer == null)
			{
				throw new ArgumentNullException("astyzer");
			}

			Docameent = docameent;
			astyzer = astyzer;
            PrimaryKey = primaryKey;
		}

		public astyzer astyzer { get; private set; }

		public Docameent Docameent { get; private set; }

        public Guid PrimaryKey { get; private set; }
	}
}