コード例 #1
0
ファイル: SecurityExtensions.cs プロジェクト: csuffyy/Bifrost
        /// <summary>
        /// Add a <see cref="FetchingSecurityTarget"/> to the <see cref="Fetching">action</see>
        /// </summary>
        /// <param name="action"><see cref="Fetching">Action</see> to add to</param>
        /// <returns><see cref="FetchingSecurityTarget"/></returns>
        public static FetchingSecurityTarget ReadModels(this Fetching action)
        {
            var target = new FetchingSecurityTarget();

            action.AddTarget(target);
            return(target);
        }