API Diff between 2.0.3.1 and 1.0.3.8
310 Additions
18 Removals
Jarvis.Utils
Jarvis.Utils.Attributes
Jarvis.Utils.Cores
Jarvis.Utils.Extensions
-
public static class ExtensionsDateTime
- public static int Age(this DateTime date)
- public static string ToDate(this DateTime date)
- public static DateTime? ToDate(this string date)
- public static DateTime ToDateBr(this DateTime date, bool remove_daylight_saving_time = true)
- public static string ToDateBrToDate(this DateTime date, bool remove_daylight_saving_time = true)
- public static string ToDateTime(this DateTime date, bool seconds = false)
- public static DateTime? ToDateTime(this string date, bool seconds = false)
- public static DateTime ToDateTimeBr(this DateTime date, bool remove_daylight_saving_time = true)
- public static string ToDateTimeBrToDateTime(this DateTime date, bool seconds = false, bool remove_daylight_saving_time = true)
- public static string ToDay(this DayOfWeek day)
- public static string ToDay(this DateTime date)
- public static string ToISODate(this DateTime date)
- public static DateTime? ToISODate(this string date)
- public static string ToISODateTime(this DateTime date)
- public static DateTime? ToISODateTime(this string date)
- public static string ToMonth(this DateTime date)
- public static string ToTime(this TimeSpan time, bool seconds = false)
- public static string ToTime(this DateTime date, bool seconds = false)
- public static TimeSpan? ToTime(this string time, bool seconds = false)
-
public static class ExtensionsEncrypt
- public static string IdToSlug(this int id, string text)
- public static int SlugToId(this string slug)
- public static Guid ToGuid(this string id)
- public static string ToId(this Guid id)
-
public static class ExtensionsEnum
-
public static class ExtensionsError
-
public static class ExtensionsFile
-
public static class ExtensionsFormat
- public static double CashToNumber(this string value)
- public static double CurrencyToNumber(this string value)
- public static double MoneyToNumber(this string value)
- public static decimal NumberToDecimal(this string value)
- public static double NumberToDouble(this string value)
- public static float NumberToFloat(this string value)
- public static int NumberToInt(this string value)
- public static long NumberToLong(this string value)
- public static double NumberToNumber(this string value)
- public static double PercentToNumber(this string value)
- public static string ToCash(this int value, int distance = 0)
- public static string ToCash(this long value, int distance = 0)
- public static string ToCash(this float value, int distance = 0)
- public static string ToCash(this double value, int distance = 0)
- public static string ToCash(this decimal value, int distance = 0)
- public static string ToCurrency(this int value, int distance = 0)
- public static string ToCurrency(this long value, int distance = 0)
- public static string ToCurrency(this float value, int distance = 0)
- public static string ToCurrency(this double value, int distance = 0)
- public static string ToCurrency(this decimal value, int distance = 0)
- public static string ToMoney(this int value, int distance = 0)
- public static string ToMoney(this long value, int distance = 0)
- public static string ToMoney(this float value, int distance = 0)
- public static string ToMoney(this double value, int distance = 0)
- public static string ToMoney(this decimal value, int distance = 0)
- public static string ToNumber(this int value, int precision = 2)
- public static string ToNumber(this long value, int precision = 2)
- public static string ToNumber(this float value, int precision = 2)
- public static string ToNumber(this double value, int precision = 2)
- public static string ToNumber(this decimal value, int precision = 2)
- public static string ToPercent(this int value, int precision = 2)
- public static string ToPercent(this long value, int precision = 2)
- public static string ToPercent(this float value, int precision = 2)
- public static string ToPercent(this double value, int precision = 2)
- public static string ToPercent(this decimal value, int precision = 2)
-
public static class ExtensionsJsonResponse
-
public static class ExtensionsList
- public static void AddManyToMany<T>(this ICollection<T> source, Expression<Func<T, int>> target_id, IEnumerable<int> ids)
- public static void AddManyToMany<T>(this ICollection<T> source, Expression<Func<T, Guid>> target_id, IEnumerable<Guid> ids)
- public static IEnumerable<T> BirthdayInNextDays<T>(this IEnumerable<T> source, Func<T, DateTime> predicate, int startDays, int endDays)
- public static IEnumerable<T> DateInNextDays<T>(this IEnumerable<T> source, Func<T, DateTime> predicate, int startDays, int endDays)
- public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T> source)
- public static IEnumerable<T> ForEach<T>(this IEnumerable<T> source, Action<T> action)
- public static IEnumerable<T> InRange<T>(this IEnumerable<T> source, Func<T, DateTime> predicate, DateRange range)
- public static IEnumerable<T> InRange<T>(this IEnumerable<T> source, Func<T, DateTime> predicate, string range)
- public static IEnumerable<T> InRange<T>(this IEnumerable<T> source, Func<T, DateTime> predicate, string startDate, string endDate)
- public static IEnumerable<T> InRange<T>(this IEnumerable<T> source, Func<T, int> predicate, int min, int max)
- public static bool IsEmpty<T>(this IEnumerable<T> source)
- public static bool IsEmpty<T>(this IEnumerable<T> source, Func<T, bool> predicate)
- public static void Move<T>(this IList<T> source, Expression<Func<T, int>> expression, int oldIndex, int newIndex)
- public static IEnumerable<IEnumerable<T>> SplitList<T>(this IEnumerable<T> source, int length)
- public static void UpdateManyToMany<T>(this ICollection<T> source, Expression<Func<T, bool>> flag_enabled, Expression<Func<T, int>> target_id, IEnumerable<int> ids)
- public static void UpdateManyToMany<T>(this ICollection<T> source, Expression<Func<T, bool>> flag_enabled, Expression<Func<T, Guid>> target_id, IEnumerable<Guid> ids)
- public static IEnumerable<ForeachResult<T>> WithIndex<T>(this IEnumerable<T> value, int initialIndex = 1)
-
public static class ExtensionsObject
- public static bool IsDifferent(this object value, object compare)
- public static bool IsEquals(this object value, object compare)
- public static bool IsFalse(this object value)
- public static bool IsNull(this object value)
- public static bool IsTrue(this object value)
- public static bool NotNull(this object value)
- public static double ToDouble(this object value)
- public static double? ToDoubleNullable(this object value)
- public static Guid ToGuid(this object value)
- public static Guid? ToGuidNullable(this object value)
- public static int ToInt(this object value)
- public static int? ToIntNullable(this object value)
-
public static class ExtensionsProperties
- public static Copy<S, T> CopyTo<S, T>(this S source, T target)
- public static Copy<S, T> CopyTo<S, T>(this S source, T target, Expression<Func<S, object>>[] ignores)
- public static Copy<S, T> CopyToIfNotNull<S, T>(this S source, T target)
- public static Copy<S, T> CopyToIfNotNull<S, T>(this S source, T target, Expression<Func<S, object>>[] ignores)
- public static Copy<S, T> SetProperty<S, T>(this Copy<S, T> copy, Action<T> target)
- public static Copy<S, T> SetProperty<S, T>(this Copy<S, T> copy, Expression<Func<T, object>> target, object source)
- public static Copy<S, T> SetProperty<S, T>(this Copy<S, T> copy, Expression<Func<T, object>> target, Func<S, object> source)
- public static MemberExpression ToMemberExpression<T>(this Expression<Func<T, object>> expression)
-
public static class ExtensionsSerialize
-
public static class ExtensionsString
Jarvis.Utils.Utilities
-
public class JarvisDownloadService : IDisposable
-
public static class JarvisEncrypt
- public static string AdvancedDecryptionStandard(string to_decrypt, string decryption_key)
- public static string AdvancedEncryptionStandard(string to_encrypt, string encryption_key)
- public static string Base64Decode(string to_decrypt)
- public static string Base64Decode(string to_decrypt, int iterations)
- public static string Base64Encode(string to_encrypt)
- public static string Base64Encode(string to_encrypt, int iterations)
- public static string DataDecryptionStandard(string to_decrypt, string decryption_key)
- public static string DataEncryptionStandard(string to_encrypt, string encryption_key)
- public static int DecryptId(string id)
- public static string DecryptWithKey(string to_decrypt, bool use_hashing, string decryption_key)
- public static string EncrypId(int id)
- public static string EncryptWithKey(string to_encrypt, bool use_hashing, string encryption_key)
- public static string MD5Encode(string to_encrypt)
- public static string MD5EncodeToLower(string to_encrypt)
- public static string MD5EncodeToUpper(string to_encrypt)
- public static string SHA1Encode(string to_encrypt)
- public static string SHA1EncodeToLower(string to_encrypt)
- public static string SHA1EncodeToUpper(string to_encrypt)
- public static int ToDecryptId(this string id)
- public static string ToEncrypId(this int id)
- public static string ToMD5Encode(this string to_encrypt)
- public static string ToSHA1Encode(this string to_encrypt)
-
public static class JarvisFileService
-
public class JarvisHaversine
-
public static class JarvisSecurity
-
public static class JarvisValidate
- public static bool CEP(string cep)
- public static bool CNPJ(string cnpj)
- public static bool CPF(string cpf)
- public static bool CreditCard(string credit_card)
- public static bool CreditCardDate(string credit_card_date)
- public static bool Email(string email)
- public static bool IsCEP(this string cep)
- public static bool IsCNPJ(this string cnpj)
- public static bool IsCPF(this string cpf)
- public static bool IsCreditCard(this string credit_card)
- public static bool IsCreditCardDate(this string credit_card_date)
- public static bool IsDate(this string date)
- public static bool IsDateRange(this string range)
- public static bool IsDateTime(this string date, bool seconds = false)
- public static bool IsDateTimeRange(this string range)
- public static bool IsEmail(this string email)