Skip to content

BizArk.Core API Reference

Brian Brewder edited this page Nov 19, 2017 · 15 revisions

BizArk.Core contains classes to help build line-of-business applications.

NuGet

BizArk.Core

  • Application - Provides easy access to information about the currently running application.
  • ClassFactory - A simple but extensible class factory. Used by BizArk to create some internal objects.
  • ConvertEx - This class provides the ability to convert types beyond what is provided by System.Convert.

BizArk.Core.Collections

  • HashList - Represents a generic collection of key/value pairs. The enumerator returns the values in the order assigned.

BizArk.Core.Data

  • BaField - Contains the value and other information about a field.
  • BaFieldList - List of BizArk fields.
  • BaObject - An object that can be used as dynamic. Provides a property bag implementation as well as keeps track of what fields are modified for efficient updates.
  • BaObjectOptions - Options for the BaObject.
  • BaValidatorList - List of validation attributes for validating BaFields.

BizArk.Core.DataAnnotations

  • CustomAttribute - Allows for custom validation without having to implement a validation attribute.
  • SetAttribute - Ensures the value is contained within the set of values.

BizArk.Core.Extensions

NOTE: Each extension is in its own namespace. This allows each one to be added individually.

  • ArrayExt - Provides extension methods for string arrays.
  • AttributeExt - Provides extension methods for working with attributes.
  • DataExt - Provides extension methods for string arrays.
  • DateExt - Provides extension methods for dates.
  • DictionaryExt - Provides extension methods to make it easier to work with dictionaries.
  • DrawingExt - Extensions for classes within the Drawing namespace.
  • ExceptionExt - Provides extension method for exceptions.
  • FormatExt - Provides extension methods to format values.
  • ImageExt - Extension methods for images.
  • MathExt - Extension methods for numeric values.
  • ObjectExt - Extends the Object class.
  • StreamExt - Provides utility methods for handling streams.
  • StringExt - Provides extension methods for strings.
  • TypeExt - Provides extension methods for Type.
  • WebExt - Extension methods that are useful when working with web objects.
  • XmlExt - Provides extension methods for processing Xml.

BizArk.Core.Util

  • Bitmask - Provides a simple way to work with a bitmask.
  • EqualityComparer - Provides a way to compare two values using a lambda expression.
  • FileEx - Provides methods that are useful when working with files and directories.
  • MemSize - This class represents the size for memory on a computer. Initialized by number of bytes.
  • MimeMap - Provides a lookup service to get the MimeType based on a file extension. The default data comes from the Mime.Types file that is embedded in this project and the registry.
  • ObjectDictionary - Wraps an object so it can be accessed via a dictionary interface using dot syntax like -> myobject.contacts["john"].Email
  • ObjectUtil - Provides utility methods for working with objects.
  • Range - Represents a mathmatical range of values.
  • RemoteDateTime - Provides a convenient DateTime wrapper for handling remote date/time values (eg, the server date/time).
  • Security - Provides some convenient methods for generating a hash from a string.
  • StringTemplate - Provides a way to format a string using named parameters instead of positional parameters.
  • StringWriterEx - Implements a System.IO.TextWriter for writing information to a string. The information is stored in an underlying System.Text.StringBuilder.
  • TempFile - Manages a temporary file. Deletes the file when disposed.

Clone this wiki locally