public SpecializationKey(Type entityType, FileType fileType)
        {
            FileType = fileType;
            SpecializationType = entityType;

            hash = entityType.GetHashCode() ^ fileType.GetHashCode();
        }
Example #2
0
        /// <summary>
        /// Entry API to folder reference retrieval
        /// </summary>
        /// <param name="fileType"></param>
        /// <returns></returns>
        public static IFolderLocationQuery FolderForType(FileType fileType)
        {
            GuardAgainstUninitializedUsage();

            return new FolderLocationQuery(fileType)
            {
                Secretaries = Secretaries
            };            
        }