Ejemplo n.º 1
0
        public SpecializationKey(Type entityType, FileType fileType)
        {
            FileType = fileType;
            SpecializationType = entityType;

            hash = entityType.GetHashCode() ^ fileType.GetHashCode();
        }
Ejemplo n.º 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
            };            
        }