API Diff between 4.1.0-unstable0129 and 5.6.0-beta0007
523 Additions
640 Removals
Catel
-
public static class Argument
- public static void IsMaximum<T>(string paramName, T paramValue, T maximumValue) where T : IComparable
- public static void IsMaximum(string paramName, int paramValue, int maximumValue)
- public static void IsMaximum<T>(Expression<Func<T>> expression, T maximumValue) where T : IComparable
- public static void IsMaximum(Expression<Func<int>> expression, int maximumValue)
- public static void IsMinimal<T>(string paramName, T paramValue, T minimumValue) where T : IComparable
- public static void IsMinimal(string paramName, int paramValue, int minimumValue)
- public static void IsMinimal<T>(Expression<Func<T>> expression, T minimumValue) where T : IComparable
- public static void IsNotEmpty(string paramName, Guid paramValue)
- public static void IsNotEmpty(Expression<Func<Guid>> expression)
- public static void IsMinimal(Expression<Func<int>> expression, int minimumValue)
- public static void IsNotNullOrEmpty(string paramName, Guid paramValue)
- public static void IsNotNullOrEmpty(Expression<Func<Guid>> expression)
- public static void IsNotOutOfRange<T>(string paramName, T paramValue, T minimumValue, T maximumValue) where T : IComparable
- public static void IsNotOutOfRange(string paramName, int paramValue, int minimumValue, int maximumValue)
- public static void IsNotOutOfRange<T>(Expression<Func<T>> expression, T minimumValue, T maximumValue) where T : IComparable
- public static void IsNotOutOfRange(Expression<Func<int>> expression, int minimumValue, int maximumValue)
-
public sealed delegate AsyncEventHandler<TEventArgs> : MulticastDelegate where TEventArgs : EventArgs
-
public static class AsyncEventHandlerExtensions
-
public static class EnvironmentHelper
-
public static class EventHandlerExtensions
-
public static class ExceptionFactory
-
public static class ExpressionHelper
-
public static class FastDateTime
-
public interface IExecute<TResult>
-
public interface IExecuteWithObject<TResult>
-
public interface IWeakEventListener
-
public interface IWeakFunc<TResult> : IWeakReference, IExecute<TResult>
-
public interface IWeakFunc<TParameter, TResult> : IWeakReference, IExecuteWithObject<TResult>
-
public enum KnownPlatforms
-
public static class LanguageHelper
-
public class NotSupportedInPlatformException : Exception
-
public sealed delegate OpenInstanceActionHandler<TTarget> : MulticastDelegate
-
public sealed delegate OpenInstanceEventHandler<TTarget, TEventArgs> : MulticastDelegate
-
public static class ParallelHelper
-
public class ProgressContext : Disposable
-
public static class ResourceHelper
- public static string (Assembly assembly, string relativeResourceName)
- public static void (Assembly assembly, string relativeResourceName, Stream targetStream)
- public static void (Assembly assembly, string assemblyName, string relativeResourceName, Stream targetStream)
-
public static class StringExtensions
- public static bool ContainsIgnoreCase(this string str, string valueToCheck)
- public static bool EndsWithAny(this string str, string[] values)
- public static bool EndsWithAnyIgnoreCase(this string str, string[] values)
- public static bool EndsWithIgnoreCase(this string str, string valueToCheck)
- public static bool EqualsAny(this string str, string[] values)
- public static bool EqualsAnyIgnoreCase(this string str, string[] values)
- public static bool EqualsIgnoreCase(this string str, string valueToCheck)
- public static string GetSlug(this string input, string spaceReplacement = "", string dotReplacement = "", bool makeLowercase = true)
- public static int IndexOfIgnoreCase(this string str, string valueToCheck)
- public static string GetSlug(this string input, string spaceReplacement = "", string dotReplacement = "")
- public static string SplitCamelCase(this string value)
- public static bool StartsWithAny(this string str, string[] values)
- public static bool StartsWithAnyIgnoreCase(this string str, string[] values)
- public static bool StartsWithIgnoreCase(this string str, string valueToCheck)
-
public static class StringToObjectHelper
-
public enum SupportedPlatforms
-
public static class UriExtensions
-
public static class UrlHelper
-
public static class WeakEventListener
- public static IWeakEventListener SubscribeToWeakCollectionChangedEvent(this object target, object source, NotifyCollectionChangedEventHandler handler, bool throwWhenSubscriptionFails = true, string eventName = "CollectionChanged")
- public static IWeakEventListener SubscribeToWeakEvent(this object target, object source, string eventName, Action handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakEvent(this object target, object source, string eventName, Delegate handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakGenericEvent<TEventArgs>(this object target, object source, string eventName, EventHandler<TEventArgs> handler, bool throwWhenSubscriptionFails = true) where TEventArgs : EventArgs
- public static IWeakEventListener SubscribeToWeakPropertyChangedEvent(this object target, object source, PropertyChangedEventHandler handler, bool throwWhenSubscriptionFails = true, string eventName = "PropertyChanged")
- public static IWeakEventListener SubscribeToWeakCollectionChangedEvent(this object target, object source, NotifyCollectionChangedEventHandler handler, string eventName = "CollectionChanged")
- public static IWeakEventListener SubscribeToWeakEvent(this object target, object source, string eventName, Delegate handler)
- public static IWeakEventListener SubscribeToWeakGenericEvent<TEventArgs>(this object target, object source, string eventName, EventHandler<TEventArgs> handler)
- public static IWeakEventListener SubscribeToWeakPropertyChangedEvent(this object target, object source, PropertyChangedEventHandler handler, string eventName = "PropertyChanged")
-
public static class WeakEventListener<TTarget, TSource>
- public static IWeakEventListener SubscribeToWeakCollectionChangedEvent(TTarget target, TSource source, NotifyCollectionChangedEventHandler handler, bool throwWhenSubscriptionFails = true, string eventName = "CollectionChanged")
- public static IWeakEventListener SubscribeToWeakEvent(TTarget target, TSource source, string eventName, Delegate handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakEventWithExplicitSourceType<TExplicitSourceType>(TTarget target, TSource source, string eventName, Delegate handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakGenericEvent<TEventArgs>(TTarget target, TSource source, string eventName, EventHandler<TEventArgs> handler, bool throwWhenSubscriptionFails = true) where TEventArgs : EventArgs
- public static IWeakEventListener SubscribeToWeakPropertyChangedEvent(TTarget target, TSource source, PropertyChangedEventHandler handler, bool throwWhenSubscriptionFails = true, string eventName = "PropertyChanged")
- public static IWeakEventListener SubscribeToWeakCollectionChangedEvent(TTarget target, TSource source, NotifyCollectionChangedEventHandler handler, string eventName = "CollectionChanged")
- public static IWeakEventListener SubscribeToWeakEvent(TTarget target, TSource source, string eventName, Delegate handler)
- public static IWeakEventListener SubscribeToWeakEventWithExplicitSourceType<TExplicitSourceType>(TTarget target, TSource source, string eventName, Delegate handler)
- public static IWeakEventListener SubscribeToWeakGenericEvent<TEventArgs>(TTarget target, TSource source, string eventName, EventHandler<TEventArgs> handler)
- public static IWeakEventListener SubscribeToWeakPropertyChangedEvent(TTarget target, TSource source, PropertyChangedEventHandler handler, string eventName = "PropertyChanged")
-
public class WeakEventListener<TTarget, TSource, TEventArgs> : IWeakEventListener
- public sealed delegate OpenInstanceHandler<TTarget, TSource, TEventArgs> : MulticastDelegate
- public WeakReference SourceWeakReference { get; }
- public WeakReference TargetWeakReference { get; }
- public static IWeakEventListener SubscribeToWeakCollectionChangedEvent(TTarget target, TSource source, NotifyCollectionChangedEventHandler handler, bool throwWhenSubscriptionFails = true, string eventName = "CollectionChanged")
- public static IWeakEventListener SubscribeToWeakEvent(TTarget target, TSource source, string eventName, Delegate handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakEventWithExplicitSourceType<TExplicitSourceType>(TTarget target, TSource source, string eventName, Delegate handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakGenericEvent(TTarget target, TSource source, string eventName, EventHandler<TEventArgs> handler, bool throwWhenSubscriptionFails = true)
- public static IWeakEventListener SubscribeToWeakPropertyChangedEvent(TTarget target, TSource source, PropertyChangedEventHandler handler, bool throwWhenSubscriptionFails = true, string eventName = "PropertyChanged")
- public static IWeakEventListener SubscribeToWeakCollectionChangedEvent(TTarget target, TSource source, NotifyCollectionChangedEventHandler handler, string eventName = "CollectionChanged")
- public static IWeakEventListener SubscribeToWeakEvent(TTarget target, TSource source, string eventName, Delegate handler)
- public static IWeakEventListener SubscribeToWeakEventWithExplicitSourceType<TExplicitSourceType>(TTarget target, TSource source, string eventName, Delegate handler)
- public static IWeakEventListener SubscribeToWeakGenericEvent(TTarget target, TSource source, string eventName, EventHandler<TEventArgs> handler)
- public static IWeakEventListener SubscribeToWeakPropertyChangedEvent(TTarget target, TSource source, PropertyChangedEventHandler handler, string eventName = "PropertyChanged")
-
public class WeakFunc<TResult> : WeakActionBase, IWeakFunc<TResult>, IWeakReference, IExecute<TResult>
-
public class WeakFunc<TParameter, TResult> : WeakActionBase, IWeakFunc<TParameter, TResult>, IWeakReference, IExecuteWithObject<TResult>
Catel.Caching
-
public class CacheStorage<TKey, TValue> : ICacheStorage<TKey, TValue>
- public bool DisposeValuesOnRemoval { get; set; }
- public event EventHandler<ExpiredEventArgs<TKey, TValue>> Expired
- public event EventHandler<ExpiringEventArgs<TKey, TValue>> Expiring
- public CacheStorage(Func<ExpirationPolicy> defaultExpirationPolicyInitCode, bool storeNullValues)
- public Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<Task<TValue>> code, ExpirationPolicy expirationPolicy, bool override = false)
- public Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<Task<TValue>> code, bool override = false, TimeSpan expiration = default)
- public Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<TValue> code, ExpirationPolicy expirationPolicy, bool override = false)
- public Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<TValue> code, bool override = false, TimeSpan expiration = default)
-
public class ExpiredEventArgs<TKey, TValue> : EventArgs
-
public class ExpiringEventArgs<TKey, TValue> : EventArgs
-
public interface ICacheStorage<TKey, TValue>
- bool DisposeValuesOnRemoval { get; set; }
- event EventHandler<ExpiredEventArgs<TKey, TValue>> Expired
- event EventHandler<ExpiringEventArgs<TKey, TValue>> Expiring
- Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<Task<TValue>> code, ExpirationPolicy expirationPolicy, bool override = false)
- Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<Task<TValue>> code, bool override = false, TimeSpan expiration = default)
- Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<TValue> code, ExpirationPolicy expirationPolicy, bool override = false)
- Task<TValue> GetFromCacheOrFetchAsync(TKey key, Func<TValue> code, bool override = false, TimeSpan expiration = default)
Catel.Collections
Catel.ComponentModel
Catel.Configuration
-
public class ConfigurationChangedEventArgs : EventArgs
-
public enum ConfigurationContainer
-
public static class ConfigurationExtensions
-
public class ConfigurationService : IConfigurationService
- public ConfigurationService(ISerializationManager serializationManager, IObjectConverterService objectConverterService, IXmlSerializer serializer)
- public ConfigurationService(ISerializationManager serializationManager, IObjectConverterService objectConverterService, ISerializer serializer)
- public ConfigurationService(ISerializationManager serializationManager, IObjectConverterService objectConverterService)
- protected virtual DynamicConfiguration GetSettingsContainer(ConfigurationContainer container)
- public T GetValue<T>(ConfigurationContainer container, string key, T defaultValue = null)
- protected virtual string GetValueFromStore(ConfigurationContainer container, string key)
- public void InitializeValue(ConfigurationContainer container, string key, object defaultValue)
- public bool IsValueAvailable(ConfigurationContainer container, string key)
- public void SetLocalConfigFilePath(string filePath)
- public void SetRoamingConfigFilePath(string filePath)
- public void SetValue(ConfigurationContainer container, string key, object value)
- protected virtual void SetValueToStore(ConfigurationContainer container, string key, string value)
- public T GetValue<T>(string key, T defaultValue = null)
- protected virtual string GetValueFromStore(string key)
- public void InitializeValue(string key, object defaultValue)
- public bool IsValueAvailable(string key)
- public void SetValue(string key, object value)
- protected virtual void SetValueToStore(string key, string value)
- protected virtual bool ValueExists(ConfigurationContainer container, string key)
- protected virtual bool ValueExists(string key)
-
public class DynamicConfiguration : ModelBase
-
public static class DynamicConfigurationExtensions
-
public interface IConfigurationService
- T GetValue<T>(ConfigurationContainer container, string key, T defaultValue = null)
- void InitializeValue(ConfigurationContainer container, string key, object defaultValue)
- bool IsValueAvailable(ConfigurationContainer container, string key)
- void SetLocalConfigFilePath(string filePath)
- void SetRoamingConfigFilePath(string filePath)
- void SetValue(ConfigurationContainer container, string key, object value)
- T GetValue<T>(string key, T defaultValue = null)
- void InitializeValue(string key, object defaultValue)
- bool IsValueAvailable(string key)
- void SetValue(string key, object value)
-
public static class IConfigurationServiceExtensions
Catel.Data
-
public class AdvancedPropertyChangingEventArgs : PropertyChangingEventArgs
-
public class BoxingCache<T> where T : struct
-
public class ChangeNotificationWrapper
-
public abstract class ChildAwareModelBase : ValidatableModelBase
-
public abstract class ComparableModelBase : ModelBase
-
public class FieldValidationResult : ValidationResult, IFieldValidationResult, IValidationResult
-
public interface IAdvancedNotifyPropertyChanging : INotifyPropertyChanging
-
public interface IModel : INotifyPropertyChanging, INotifyPropertyChanged, IParent, IAdvancedEditableObject, IEditableObject, IModelEditor, IModelValidation, INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo, IModelSerialization, IXmlSerializable
-
public static class IModelExtensions
-
public interface IModelSerialization : IXmlSerializable
-
public interface IModelValidation : INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo
-
public static class IModelValidationExtensions
-
public interface IParent
-
public static class IParentExtensions
-
public interface ISavableModel : IModel, INotifyPropertyChanging, INotifyPropertyChanged, IParent, IAdvancedEditableObject, IEditableObject, IModelEditor, IModelValidation, INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo, IModelSerialization, IXmlSerializable
-
public static class ISavableModelExtensions
-
public interface IValidatable : INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo
-
public static class IValidatableExtensions
-
public interface IValidatableModel : IModel, INotifyPropertyChanged, IAdvancedEditableObject, IEditableObject, IModelEditor, IModelSerialization, ISerializable, IXmlSerializable, ISerializable, IValidatable, INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo
-
public static class IValidatableModelExtensions
-
public interface IValidationContext
-
public static class IValidationContextExtensions
-
public interface IValidationSummary
-
public abstract class ModelBase : ObservableObject, IModel, INotifyPropertyChanging, INotifyPropertyChanged, IParent, IAdvancedEditableObject, IEditableObject, IModelEditor, IModelValidation, INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo, IModelSerialization, IXmlSerializable
- public static bool DisablePropertyChangeNotifications { get; set; }
- public static bool DefaultSuspendValidationValue { get; set; }
- public static bool DefaultValidateUsingDataAnnotationsValue { get; set; }
- public static bool GlobalLeanAndMeanModel { get; set; }
- public static bool SuspendValidationForAllModels { get; set; }
- protected bool AutomaticallyValidateOnPropertyChanged { get; protected set; }
- protected bool DeserializationSucceeded { get; }
- protected bool DisableEventSubscriptionsOfChildValues { get; protected set; }
- protected IModelEqualityComparer EqualityComparer { get; protected set; }
- protected bool HandlePropertyAndCollectionChanges { get; protected set; }
- protected bool HideValidationResults { get; protected set; }
- protected bool IsInitialized { get; }
- protected bool IsInitializing { get; }
- protected bool IsValidating { get; }
- protected bool SuspendValidation { get; protected set; }
- protected bool ValidateUsingDataAnnotations { get; protected set; }
- protected event EventHandler ValidatedBusinessRules
- protected event EventHandler ValidatedFields
- protected event EventHandler ValidatingBusinessRules
- protected event EventHandler ValidatingFields
- protected ModelBase(SerializationInfo info, StreamingContext context)
- protected static bool IsPropertyRegistered<T>(string name)
- public static PropertyData RegisterProperty<TModel, TValue>(Expression<Func<TModel, TValue>> propertyExpression, TValue defaultValue, Action<TModel, AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true)
- public static PropertyData RegisterProperty<TModel, TValue>(Expression<Func<TModel, TValue>> propertyExpression, Func<TValue> createDefaultValue = null, Action<TModel, AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true)
- public static PropertyData RegisterProperty<TValue>(string name, Type type, TValue defaultValue, EventHandler<AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true)
- public static PropertyData RegisterProperty(string name, Type type, Func<object> createDefaultValue = null, EventHandler<AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true)
- public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
- public static T Load<T>(XDocument xmlDocument)
- public static T Load<T>(Stream stream, SerializationMode mode)
- public static IModel Load(Type type, Stream stream, SerializationMode mode)
- public static bool op_Equality(ModelBase firstObject, ModelBase secondObject)
- public static bool op_Inequality(ModelBase firstObject, ModelBase secondObject)
- public static PropertyData RegisterProperty<TModel, TValue>(Expression<Func<TModel, TValue>> propertyExpression, TValue defaultValue, Action<TModel, AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true, bool setParent = true)
- public static PropertyData RegisterProperty<TModel, TValue>(Expression<Func<TModel, TValue>> propertyExpression, Func<TValue> createDefaultValue = null, Action<TModel, AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true, bool setParent = true)
- public static PropertyData RegisterProperty<TValue>(string name, Type type, TValue defaultValue, EventHandler<AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true, bool setParent = true)
- public static PropertyData RegisterProperty(string name, Type type, Func<object> createDefaultValue = null, EventHandler<AdvancedPropertyChangedEventArgs> propertyChangedEventHandler = null, bool includeInSerialization = true, bool includeInBackup = true, bool setParent = true)
- protected void ClearIsDirtyOnAllChilds()
- protected virtual string GetBusinessRuleErrors()
- protected virtual string GetBusinessRuleWarnings()
- protected virtual string GetFieldErrors(string columnName)
- protected virtual string GetFieldWarnings(string columnName)
- protected ISerializer GetSerializerForIEditableObject()
- protected PropertyInfo GetPropertyInfo(PropertyData property)
- protected PropertyInfo GetPropertyInfo(string property)
- protected virtual T GetValueFromPropertyBag<T>(string propertyName)
- public bool IsPropertyRegistered(string name)
- protected void NotifyValidationResult(IValidationResult validationResult, bool notifyGlobal)
- protected virtual void OnDeserializing()
- protected virtual void OnSerialized()
- protected virtual void OnSerializing()
- protected void RaisePropertyChanged(object sender, PropertyChangedEventArgs e, bool updateIsDirty, bool isRefreshCallOnly)
- protected virtual void SetDirty(string propertyName)
- protected virtual void SetValueToPropertyBag(string propertyName, object value)
- protected virtual bool ShouldPropertyChangeUpdateIsDirty(string propertyName)
- public IDisposable SuspendChangeCallbacks()
- public IDisposable SuspendChangeNotifications(bool raiseOnResume = true)
- protected virtual void OnInitialized()
- protected virtual void OnInitializing()
- protected virtual void OnPropertyObjectCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
- protected virtual void OnPropertyObjectCollectionItemPropertyChanged(object sender, PropertyChangedEventArgs e)
- protected virtual void OnPropertyObjectPropertyChanged(object sender, PropertyChangedEventArgs e)
- protected virtual void OnValidated()
- protected virtual void OnValidated(IValidationContext validationContext)
- protected virtual void OnValidatedBusinessRules()
- protected virtual void OnValidatedBusinessRules(IValidationContext validationContext)
- protected virtual void OnValidatedFields()
- protected virtual void OnValidatedFields(IValidationContext validationContext)
- protected virtual void OnValidating()
- protected virtual void OnValidating(IValidationContext validationContext)
- protected virtual void OnValidatingBusinessRules()
- protected virtual void OnValidatingBusinessRules(IValidationContext validationContext)
- protected virtual void OnValidatingFields()
- protected virtual void OnValidatingFields(IValidationContext validationContext)
- protected void SetBusinessRuleValidationResult(IBusinessRuleValidationResult validationResult)
- protected void SetFieldValidationResult(IFieldValidationResult validationResult)
- protected void SetParent(IParent parent)
- protected void Validate(bool force = false)
- protected virtual void ValidateBusinessRules(List<IBusinessRuleValidationResult> validationResults)
- protected virtual void ValidateFields(List<IFieldValidationResult> validationResults)
-
public static class ModelBaseExtensions
-
public class ObservableObject : IAdvancedNotifyPropertyChanging, INotifyPropertyChanging, IAdvancedNotifyPropertyChanged, INotifyPropertyChanged
-
public class PropertyBag : INotifyPropertyChanged
-
public class PropertyData
-
public class PropertyValue
-
public abstract class SavableModelBase<T> : ModelBase, ISavableModel, IModel, INotifyPropertyChanging, INotifyPropertyChanged, IParent, IAdvancedEditableObject, IEditableObject, IModelEditor, IModelValidation, INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo, IModelSerialization, IXmlSerializable
- public byte[] Bytes { get; }
- public SerializationMode Mode { get; set; }
- protected SavableModelBase(SerializationInfo info, StreamingContext context)
- public static T Load(Stream stream, ISerializer serializer, ISerializationConfiguration configuration = null)
- public static IModel Load(Type type, Stream stream, ISerializer serializer, ISerializationConfiguration configuration = null)
- public void Save(Stream stream, ISerializer serializer, ISerializationConfiguration configuration = null)
- public static T Load(IRandomAccessStream fileStream, SerializationMode mode)
- public static T Load(XDocument xmlDocument)
- public static T Load(Stream stream, SerializationMode mode)
- public void Save(IRandomAccessStream fileStream)
- public void Save(Stream stream)
- public void Save(Stream stream, SerializationMode mode)
- public byte[] ToByteArray()
- public XDocument ToXml()
-
public class SuspensionContext
-
public abstract class ValidatableModelBase : ModelBase, IValidatableModel, IModel, INotifyPropertyChanged, IAdvancedEditableObject, IEditableObject, IModelEditor, IModelSerialization, ISerializable, IXmlSerializable, ISerializable, IValidatable, INotifyDataErrorInfo, INotifyDataWarningInfo, IDataErrorInfo, IDataWarningInfo
-
public enum SerializationMode
-
public class ValidationContext : IValidationContext
-
public class ValidationSummary : IValidationSummary
Catel.ExceptionHandling
Catel.Generics
-
public static class Operator
- public static T Add<T>(T value1, T value2)
- public static TArg1 AddAlternative<TArg1, TArg2>(TArg1 value1, TArg2 value2)
- public static bool AddIfNotNull<T>(ref T accumulator, T value)
- public static T And<T>(T value1, T value2)
- public static TTo Convert<TFrom, TTo>(TFrom value)
- public static T Divide<T>(T value1, T value2)
- public static TArg1 DivideAlternative<TArg1, TArg2>(TArg1 value1, TArg2 value2)
- public static T DivideInt32<T>(T value, int divisor)
- public static bool Equal<T>(T value1, T value2)
- public static bool GreaterThan<T>(T value1, T value2)
- public static bool GreaterThanOrEqual<T>(T value1, T value2)
- public static bool HasValue<T>(T value)
- public static bool LessThan<T>(T value1, T value2)
- public static bool LessThanOrEqual<T>(T value1, T value2)
- public static T Multiply<T>(T value1, T value2)
- public static TArg1 MultiplyAlternative<TArg1, TArg2>(TArg1 value1, TArg2 value2)
- public static T Negate<T>(T value)
- public static T Not<T>(T value)
- public static bool NotEqual<T>(T value1, T value2)
- public static T Or<T>(T value1, T value2)
- public static T Subtract<T>(T value1, T value2)
- public static TArg1 SubtractAlternative<TArg1, TArg2>(TArg1 value1, TArg2 value2)
- public static T Xor<T>(T value1, T value2)
-
public static class Operator<T>
- public static Func<T, T, T> Add { get; }
- public static Func<T, T, T> And { get; }
- public static Func<T, T, T> Divide { get; }
- public static Func<T, T, bool> Equal { get; }
- public static Func<T, T, bool> GreaterThan { get; }
- public static Func<T, T, bool> GreaterThanOrEqual { get; }
- public static Func<T, T, bool> LessThan { get; }
- public static Func<T, T, bool> LessThanOrEqual { get; }
- public static Func<T, T, T> Multiply { get; }
- public static Func<T, T> Negate { get; }
- public static Func<T, T> Not { get; }
- public static Func<T, T, bool> NotEqual { get; }
- public static Func<T, T, T> Or { get; }
- public static Func<T, T, T> Subtract { get; }
- public static Func<T, T, T> Xor { get; }
- public static T Zero { get; }
-
public static class Operator<TValue, TResult>
- public static Func<TResult, TValue, TResult> Add { get; }
- public static Func<TValue, TResult> Convert { get; }
- public static Func<TResult, TValue, TResult> Divide { get; }
- public static Func<TResult, TValue, TResult> Multiply { get; }
- public static Func<TResult, TValue, TResult> Subtract { get; }
Catel.IO
Catel.IoC
Catel.Linq
-
public static class EnumerableExtensions
-
public static class ExpressionUtil
- public static Func<TArg1, TResult> CreateExpression<TArg1, TResult>(Func<Expression, UnaryExpression> body)
- public static Func<TArg1, TArg2, TResult> CreateExpression<TArg1, TArg2, TResult>(Func<Expression, Expression, BinaryExpression> body)
- public static Func<TArg1, TArg2, TResult> CreateExpression<TArg1, TArg2, TResult>(Func<Expression, Expression, BinaryExpression> body, bool castArgsToResultOnFailure)
Catel.Logging
-
public abstract class BatchLogListenerBase : LogListenerBase, IBatchLogListener
-
public class FileLogListener : BatchLogListenerBase
-
public interface IBatchLogListener
-
public static class IBatchLogListenerExtensions
-
public interface ILog
- string Name { get; }
- void DebugWithData(string message, object extraData = null)
- void DebugWithData(Exception exception, string message, object extraData = null)
- void ErrorWithData(string message, object extraData = null)
- void ErrorWithData(Exception exception, string message, object extraData = null)
- void InfoWithData(string message, object extraData = null)
- void InfoWithData(Exception exception, string message, object extraData = null)
- void WarningWithData(string message, object extraData = null)
- void WarningWithData(Exception exception, string message, object extraData = null)
- void WriteWithData(string message, LogData logData, LogEvent logEvent)
- void WriteWithData(Exception exception, string message, object extraData, LogEvent logEvent)
-
public interface ILogListener
- bool IsStatusEnabled { get; set; }
- void Debug(ILog log, string message, object extraData, LogData logData, DateTime time)
- void Error(ILog log, string message, object extraData, LogData logData, DateTime time)
- void Info(ILog log, string message, object extraData, LogData logData, DateTime time)
- void Status(ILog log, string message, object extraData, LogData logData, DateTime time)
- void Warning(ILog log, string message, object extraData, LogData logData, DateTime time)
- void Write(ILog log, string message, LogEvent logEvent, object extraData, LogData logData, DateTime time)
- void Debug(ILog log, string message, object extraData, DateTime time)
- void Error(ILog log, string message, object extraData, DateTime time)
- void Info(ILog log, string message, object extraData, DateTime time)
- void Warning(ILog log, string message, object extraData, DateTime time)
- void Write(ILog log, string message, LogEvent logEvent, object extraData, DateTime time)
-
public class Log : ILog
- public string Name { get; }
- public Log(string name)
- public Log(string name, Type targetType)
- public void DebugWithData(string message, object extraData = null)
- public void DebugWithData(Exception exception, string message, object extraData = null)
- public void ErrorWithData(string message, object extraData = null)
- public void ErrorWithData(Exception exception, string message, object extraData = null)
- public void InfoWithData(string message, object extraData = null)
- public void InfoWithData(Exception exception, string message, object extraData = null)
- public void WarningWithData(string message, object extraData = null)
- public void WarningWithData(Exception exception, string message, object extraData = null)
- public void WriteWithData(string message, LogData logData, LogEvent logEvent)
- public void WriteWithData(Exception exception, string message, object extraData, LogEvent logEvent)
-
public class LogBatchEntry : LogEntry
-
public class LogData : Dictionary<string, object>
-
public class LogEntry
-
public enum LogEvent
-
public static class LogExtensions
- public static void Debug(this ILog log, LogEvent logEvent, string messageFormat, object s1)
- public static void Debug(this ILog log, string messageFormat, object s1, object s2)
- public static void Debug(this ILog log, string messageFormat, object s1, object s2, object s3)
- public static void Debug(this ILog log, string messageFormat, object s1, object s2, object s3, object s4)
- public static void Debug(this ILog log, string messageFormat, object s1, object s2, object s3, object s4, object s5, object[] others)
- public static void DebugAndStatus(this ILog log)
- public static void DebugAndStatus(this ILog log, string messageFormat, object[] args)
- public static void DebugWithData(this ILog log, string message, object extraData = null)
- public static void DebugWithData(this ILog log, string message, LogData logData)
- public static void DebugWithData(this ILog log, Exception exception, string message, object extraData = null)
- public static void Error(this ILog log, string messageFormat, object s1)
- public static void Error(this ILog log, string messageFormat, object s1, object s2)
- public static void Error(this ILog log, string messageFormat, object s1, object s2, object s3)
- public static void Error(this ILog log, string messageFormat, object s1, object s2, object s3, object s4)
- public static void Error(this ILog log, string messageFormat, object s1, object s2, object s3, object s4, object s5, object[] others)
- public static Exception ErrorAndCreateException<TException>(this ILog log, string messageFormat, object[] args) where TException : Exception
- public static Exception ErrorAndCreateException<TException>(this ILog log, Func<string, TException> createExceptionCallback, string messageFormat, object[] args) where TException : Exception
- public static Exception ErrorAndCreateException<TException>(this ILog log, Exception innerException, string messageFormat, object[] args) where TException : Exception
- public static Exception ErrorAndCreateException<TException>(this ILog log, Exception innerException, Func<string, TException> createExceptionCallback, string messageFormat, object[] args) where TException : Exception
- public static void ErrorAndStatus(this ILog log)
- public static void ErrorAndStatus(this ILog log, string messageFormat, object[] args)
- public static void ErrorWithData(this ILog log, string message, object extraData = null)
- public static void ErrorWithData(this ILog log, string message, LogData logData)
- public static void ErrorWithData(this ILog log, Exception exception, string message, object extraData = null)
- public static void ErrorAndThrowException<TException>(this ILog log, string messageFormat, object[] args) where TException : Exception
- public static void InfoAndStatus(this ILog log)
- public static void InfoAndStatus(this ILog log, string messageFormat, object[] args)
- public static void InfoWithData(this ILog log, string message, object extraData = null)
- public static void InfoWithData(this ILog log, string message, LogData logData)
- public static void InfoWithData(this ILog log, Exception exception, string message, object extraData = null)
- public static void LogDebugHeading(this ILog log, string headingContent, string messageFormat, object[] args)
- public static void LogDebugHeading1(this ILog log, string messageFormat, object[] args)
- public static void LogDebugHeading2(this ILog log, string messageFormat, object[] args)
- public static void LogDebugHeading3(this ILog log, string messageFormat, object[] args)
- public static void LogErrorHeading(this ILog log, string headingContent, string messageFormat, object[] args)
- public static void LogErrorHeading1(this ILog log, string messageFormat, object[] args)
- public static void LogErrorHeading2(this ILog log, string messageFormat, object[] args)
- public static void LogErrorHeading3(this ILog log, string messageFormat, object[] args)
- public static void LogHeading(this ILog log, LogEvent logEvent, string headingContent, string messageFormat, object[] args)
- public static void LogInfoHeading(this ILog log, string headingContent, string messageFormat, object[] args)
- public static void LogInfoHeading1(this ILog log, string messageFormat, object[] args)
- public static void LogInfoHeading2(this ILog log, string messageFormat, object[] args)
- public static void LogInfoHeading3(this ILog log, string messageFormat, object[] args)
- public static void LogWarningHeading(this ILog log, string headingContent, string messageFormat, object[] args)
- public static void LogWarningHeading1(this ILog log, string messageFormat, object[] args)
- public static void LogWarningHeading2(this ILog log, string messageFormat, object[] args)
- public static void LogWarningHeading3(this ILog log, string messageFormat, object[] args)
- public static void Status(this ILog log)
- public static void Status(this ILog log, string messageFormat, object s1)
- public static void Status(this ILog log, string messageFormat, object s1, object s2)
- public static void Status(this ILog log, string messageFormat, object s1, object s2, object s3)
- public static void Status(this ILog log, string messageFormat, object s1, object s2, object s3, object s4)
- public static void Status(this ILog log, string messageFormat, object s1, object s2, object s3, object s4, object s5, object[] others)
- public static void Status(this ILog log, string messageFormat, object[] args)
- public static void Warning(this ILog log, string messageFormat, object s1)
- public static void Warning(this ILog log, string messageFormat, object s1, object s2)
- public static void Warning(this ILog log, string messageFormat, object s1, object s2, object s3)
- public static void Warning(this ILog log, string messageFormat, object s1, object s2, object s3, object s4)
- public static void Warning(this ILog log, string messageFormat, object s1, object s2, object s3, object s4, object s5, object[] others)
- public static void WarningAndStatus(this ILog log)
- public static void WarningAndStatus(this ILog log, string messageFormat, object[] args)
- public static void WarningWithData(this ILog log, string message, object extraData = null)
- public static void WarningWithData(this ILog log, string message, LogData logData)
- public static void WarningWithData(this ILog log, Exception exception, string message, object extraData = null)
- public static void Write(this ILog log, LogEvent logEvent, string messageFormat, object s1)
- public static void Write(this ILog log, LogEvent logEvent, string messageFormat, object s1, object s2)
- public static void Write(this ILog log, LogEvent logEvent, string messageFormat, object s1, object s2, object s3)
- public static void Write(this ILog log, LogEvent logEvent, string messageFormat, object s1, object s2, object s3, object s4)
- public static void Write(this ILog log, LogEvent logEvent, string messageFormat, object s1, object s2, object s3, object s4, object s5, object[] others)
- public static void WriteWithData(this ILog log, Exception exception, string message, object extraData, LogEvent logEvent)
-
public abstract class LogListenerBase : ILogListener
- public bool IsStatusEnabled { get; set; }
- protected virtual void Debug(ILog log, string message, object extraData, LogData logData, DateTime time)
- protected virtual void Error(ILog log, string message, object extraData, LogData logData, DateTime time)
- protected virtual string FormatLogEvent(ILog log, string message, LogEvent logEvent, object extraData, LogData logData, DateTime time)
- protected virtual void Info(ILog log, string message, object extraData, LogData logData, DateTime time)
- protected void RaiseLogMessage(ILog log, string message, LogEvent logEvent, object extraData, LogData logData, DateTime time)
- protected virtual bool ShouldIgnoreLogMessage(ILog log, string message, LogEvent logEvent, object extraData, LogData logData, DateTime time)
- protected virtual void Status(ILog log, string message, object extraData, LogData logData, DateTime time)
- protected virtual void Warning(ILog log, string message, object extraData, LogData logData, DateTime time)
- protected virtual void Write(ILog log, string message, LogEvent logEvent, object extraData, LogData logData, DateTime time)
- protected virtual void Debug(ILog log, string message, object extraData, DateTime time)
- protected virtual void Error(ILog log, string message, object extraData, DateTime time)
- protected virtual string FormatLogEvent(ILog log, string message, LogEvent logEvent, object extraData, DateTime time)
- protected virtual void Info(ILog log, string message, object extraData, DateTime time)
- protected void RaiseLogMessage(ILog log, string message, LogEvent logEvent, object extraData, DateTime time)
- protected bool ShouldIgnoreLogMessage(ILog log, string message, LogEvent logEvent, object extraData, DateTime time)
- protected virtual void Warning(ILog log, string message, object extraData, DateTime time)
- protected virtual void Write(ILog log, string message, LogEvent logEvent, object extraData, DateTime time)
-
public static class LogManager
-
public class LogMessageEventArgs : EventArgs
- public LogData LogData { get; }
- public LogMessageEventArgs(ILog log, string message, object extraData, LogData logData, LogEvent logEvent)
- public LogMessageEventArgs(ILog log, string message, object extraData, LogData logData, LogEvent logEvent, DateTime time)
- public LogMessageEventArgs(ILog log, string message, object extraData, LogEvent logEvent)
- public LogMessageEventArgs(ILog log, string message, object extraData, LogEvent logEvent, DateTime time)
-
public class StatusLogListener : LogListenerBase
Catel.Messaging
Catel.Pooling
Catel.Reflection
-
public static class AppDomainExtensions
- public static void LoadAssemblyIntoAppDomain(this AppDomain appDomain, string assemblyFilename, bool includeReferencedAssemblies = true)
- public static void LoadAssemblyIntoAppDomain(this AppDomain appDomain, Assembly assembly, bool includeReferencedAssemblies = true)
- public static void LoadAssemblyIntoAppDomain(this AppDomain appDomain, Assembly assembly, bool includeReferencedAssemblies, HashSet<string> alreadyLoadedAssemblies)
- public static void LoadAssemblyIntoAppDomain(this AppDomain appDomain, AssemblyName assemblyName, bool includeReferencedAssemblies = true)
- public static void PreloadAssemblies(this AppDomain appDomain, string directory = null)
-
public static class AssemblyHelper
-
public static class AttributeHelper
-
public class CachedPropertyInfo
-
public interface IEntryAssemblyResolver
-
public static class MemberInfoExtensions
-
public static class PropertyHelper
- public static TValue GetHiddenPropertyValue<TValue>(object obj, string property, Type baseType)
- public static PropertyInfo GetPropertyInfo(object obj, string property, bool ignoreCase = false)
- public static object GetPropertyValue(object obj, string property, bool ignoreCase = false)
- public static TValue GetPropertyValue<TValue>(object obj, string property, bool ignoreCase = false)
- public static bool IsPropertyAvailable(object obj, string property, bool ignoreCase = false)
- public static bool IsPublicProperty(object obj, string property, bool ignoreCase = false)
- public static void SetPropertyValue(object obj, string property, object value, bool ignoreCase = false)
- public static object GetPropertyValue(object obj, string property)
- public static TValue GetPropertyValue<TValue>(object obj, string property)
- public static bool IsPropertyAvailable(object obj, string property)
- public static bool IsPublicProperty(object obj, string property)
- public static void SetPropertyValue(object obj, string property, object value)
- public static bool TryGetPropertyValue(object obj, string property, bool ignoreCase, out object value)
- public static bool TryGetPropertyValue<TValue>(object obj, string property, bool ignoreCase, out TValue value)
- public static bool TrySetPropertyValue(object obj, string property, object value, bool ignoreCase = false)
- public static bool TrySetPropertyValue(object obj, string property, object value)
-
public static class ReflectionExtensions
- public static TAttribute GetAttribute<TAttribute>(this MemberInfo memberInfo) where TAttribute : Attribute
- public static Attribute GetAttribute(this MemberInfo memberInfo, Type attributeType)
- public static TAttribute GetAttribute<TAttribute>(this Type type) where TAttribute : Attribute
- public static Attribute GetAttribute(this Type type, Type attributeType)
- public static Type GetElementTypeEx(this Type type)
- public static Type[] GetExportedTypesEx(this Assembly assembly)
- public static Type GetInterfaceEx(this Type type, string name, bool ignoreCase)
- public static MemberInfo[] GetMemberEx(this Type type, string name, bool flattenHierarchy = true, bool allowStaticMembers = false)
- public static MemberInfo[] GetMemberEx(this Type type, string name, BindingFlags bindingFlags)
- public static string GetSafeFullName(this Type type, bool fullyQualifiedAssemblyName)
- public static int GetTypeDistance(this Type fromType, Type toType)
- public static string GetSafeFullName(this Type type)
- public static bool IsArrayEx(this Type type)
- public static bool IsCatelType(this Type type)
- public static bool IsDecoratedWithAttribute<TAttribute>(this MemberInfo memberInfo)
- public static bool IsDecoratedWithAttribute(this MemberInfo memberInfo, Type attributeType)
- public static bool IsDecoratedWithAttribute<TAttribute>(this Type type)
- public static bool IsDecoratedWithAttribute(this Type type, Type attributeType)
- public static bool IsGenericTypeDefinitionEx(this Type type)
- public static Type MakeGenericTypeEx(this Type type, Type[] typeArguments)
- public static bool TryGetAttribute<TAttribute>(this MemberInfo memberInfo, out TAttribute attribute) where TAttribute : Attribute
- public static bool TryGetAttribute(this MemberInfo memberInfo, Type attributeType, out Attribute attribute)
- public static bool TryGetAttribute<TAttribute>(this Type type, out TAttribute attribute) where TAttribute : Attribute
- public static bool TryGetAttribute(this Type type, Type attributeType, out Attribute attribute)
-
public static class TypeArray
-
public static class TypeCache
- public static List<string> InitializedAssemblies { get; }
- public static Type GetType(string typeNameWithAssembly, bool ignoreCase = false, bool allowInitialization = true)
- public static Type[] GetTypes(Func<Type, bool> predicate = null, bool allowInitialization = true)
- public static Type GetType(string typeNameWithAssembly, bool ignoreCase = false)
- public static Type[] GetTypes(Func<Type, bool> predicate = null)
- public static Type GetTypeWithAssembly(string typeName, string assemblyName, bool ignoreCase = false, bool allowInitialization = true)
- public static Type GetTypeWithoutAssembly(string typeNameWithoutAssembly, bool ignoreCase = false, bool allowInitialization = true)
- public static void InitializeTypes(string assemblyName, bool forceFullInitialization, bool allowMultithreadedInitialization = true)
- public static void InitializeTypes(Assembly assembly = null, bool forceFullInitialization = false, bool allowMultithreadedInitialization = false)
- public static Type GetTypeWithAssembly(string typeName, string assemblyName, bool ignoreCase = false)
- public static Type GetTypeWithoutAssembly(string typeNameWithoutAssembly, bool ignoreCase = false)
- public static void InitializeTypes(bool forceFullInitialization, string assemblyName)
- public static void InitializeTypes(bool forceFullInitialization, Assembly assembly = null)
- public static void InitializeTypes(Assembly assembly = null, bool forceFullInitialization = false)
-
public static class TypeExtensions
-
public static class TypeInfoExtensions
Catel.Runtime.Serialization
-
public interface IFieldSerializable
-
public interface IModelBaseSerializer
-
public interface IModelBaseSerializer<TSerializationContext> : IModelBaseSerializer
-
public class IncludeInSerializationAttribute : Attribute
-
public interface IObjectAdapter
-
public interface IPropertySerializable
-
public interface ISerializable
-
public interface ISerializationConfiguration
-
public interface ISerializationContext : IDisposable
-
public interface ISerializationContext<TSerializationContext> : ISerializationContext, IDisposable
-
public interface ISerializationContextContainer
-
public static class ISerializationContextExtensions
-
public interface ISerializationContextInfo
-
public interface ISerializationContextInfoFactory
-
public interface ISerializationManager
-
public static class ISerializationManagerExtensions
-
public interface ISerializer
-
public static class ISerializerExtensions
-
public interface ISerializerModifier
- void OnDeserialized(ISerializationContext context, object model)
- void OnDeserializing(ISerializationContext context, object model)
- void OnSerialized(ISerializationContext context, object model)
- void OnSerializing(ISerializationContext context, object model)
- void OnDeserialized(ISerializationContext context, IModel model)
- void OnDeserializing(ISerializationContext context, IModel model)
- void OnSerialized(ISerializationContext context, IModel model)
- void OnSerializing(ISerializationContext context, IModel model)
- bool ShouldIgnoreMember(ISerializationContext context, object model, MemberValue memberValue)
- bool? ShouldSerializeAsCollection()
- bool? ShouldSerializeAsDictionary()
- bool? ShouldSerializeEnumMemberUsingToString(MemberValue memberValue)
- bool? ShouldSerializeMemberUsingParse(MemberValue memberValue)
- bool ShouldIgnoreMember(ISerializationContext context, IModel model, MemberValue memberValue)
-
public class KeyValuePairSerializerModifier : SerializerModifierBase
-
public class MemberMetadata
-
public class MemberValue
-
public class ObjectAdapter : IObjectAdapter
-
public class SerializableKeyValuePair
-
public class SerializationConfiguration : ISerializationConfiguration
-
public class SerializationContext<TContext> : ISerializationContext<TContext>, ISerializationContext, IDisposable
-
public static class SerializationContextHelper
-
public abstract class SerializationContextInfoBase<TSerializationContextInfo> : ISerializationContextInfo, ISerializationContextContainer where TSerializationContextInfo : ISerializationContextInfo
-
public class SerializationContextScope<TSerializationContextInfo> where TSerializationContextInfo : ISerializationContextInfo
-
public class SerializationInfoSerializationContextInfo : ISerializationContextInfo
-
public class SerializationManager : ISerializationManager
-
public enum SerializationMemberGroup
-
public class SerializationModelInfo
- public Dictionary<string, MemberMetadata> CatelPropertiesByName { get; }
- public Dictionary<string, PropertyData> CatelPropertiesByName { get; }
- public Dictionary<string, MemberMetadata> FieldsByName { get; }
- public Dictionary<string, FieldInfo> FieldsByName { get; }
- public Dictionary<string, MemberMetadata> PropertiesByName { get; }
- public Dictionary<string, PropertyInfo> PropertiesByName { get; }
- public SerializationModelInfo(Type modelType, Dictionary<string, MemberMetadata> catelProperties, Dictionary<string, MemberMetadata> fields, Dictionary<string, MemberMetadata> regularProperties)
- public SerializationModelInfo(Type modelType, HashSet<string> catelPropertyNames, HashSet<string> fieldNames, HashSet<string> propertyNames)
-
public class SerializationScope
-
public class SerializeAsCollectionAttribute : Attribute
-
public class SerializeEnumAsStringAttribute : Attribute
-
public abstract class SerializerBase<TSerializationContext> : IModelBaseSerializer<TSerializationContext>, IModelBaseSerializer
- protected const string CollectionName = "Items"
- protected const string DictionaryName = "Pairs"
- protected const string RootObjectName = "Value"
- protected IObjectAdapter ObjectAdapter { get; }
- protected ITypeFactory TypeFactory { get; }
- protected SerializerBase(ISerializationManager serializationManager, ITypeFactory typeFactory, IObjectAdapter objectAdapter)
- protected virtual void AfterDeserialization(ISerializationContext<TSerializationContextInfo> context)
- protected virtual void AfterDeserializeMember(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected virtual void AfterSerialization(ISerializationContext<TSerializationContextInfo> context)
- protected virtual void AfterSerializeMember(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected abstract void AppendContextToStream(ISerializationContext<TSerializationContextInfo> context, Stream stream)
- protected virtual void BeforeDeserialization(ISerializationContext<TSerializationContextInfo> context)
- protected virtual void BeforeDeserializeMember(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected virtual void BeforeSerialization(ISerializationContext<TSerializationContextInfo> context)
- protected virtual void BeforeSerializeMember(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected List<SerializableKeyValuePair> ConvertDictionaryToCollection(object memberValue)
- protected virtual object CreateModelInstance(Type type)
- public virtual object Deserialize(object model, Stream stream, ISerializationConfiguration configuration = null)
- public object Deserialize(object model, ISerializationContextInfo serializationContext, ISerializationConfiguration configuration = null)
- public virtual object Deserialize(object model, TSerializationContextInfo serializationContext, ISerializationConfiguration configuration = null)
- protected virtual object Deserialize(object model, ISerializationContext<TSerializationContextInfo> context)
- public virtual object Deserialize(Type modelType, Stream stream, ISerializationConfiguration configuration = null)
- public object Deserialize(Type modelType, ISerializationContextInfo serializationContext, ISerializationConfiguration configuration = null)
- public virtual object Deserialize(Type modelType, TSerializationContextInfo serializationContext, ISerializationConfiguration configuration = null)
- protected abstract SerializationObject DeserializeMember(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- public virtual List<MemberValue> DeserializeMembers(Type modelType, Stream stream, ISerializationConfiguration configuration = null)
- public List<MemberValue> DeserializeMembers(Type modelType, ISerializationContextInfo serializationContextInfo, ISerializationConfiguration configuration = null)
- public virtual List<MemberValue> DeserializeMembers(Type modelType, TSerializationContextInfo serializationContext, ISerializationConfiguration configuration = null)
- protected virtual List<MemberValue> DeserializeMembers(ISerializationContext<TSerializationContextInfo> context)
- protected virtual object DeserializeUsingObjectParse(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected ISerializationContext<TSerializationContextInfo> GetContext(Type modelType, TSerializationContextInfo context, SerializationContextMode contextMode, ISerializationConfiguration configuration = null)
- protected ISerializationContext<TSerializationContextInfo> GetContext(Type modelType, Stream stream, SerializationContextMode contextMode, ISerializationConfiguration configuration = null)
- protected virtual ISerializationContext<TSerializationContextInfo> GetContext(object model, Type modelType, TSerializationContextInfo context, SerializationContextMode contextMode, ISerializationConfiguration configuration = null)
- protected abstract ISerializationContext<TSerializationContextInfo> GetContext(object model, Type modelType, Stream stream, SerializationContextMode contextMode, ISerializationConfiguration configuration)
- protected virtual ISerializationConfiguration GetCurrentSerializationConfiguration(ISerializationConfiguration configuration)
- protected virtual ScopeManager<SerializationScope> GetCurrentSerializationScopeManager(ISerializationConfiguration configuration)
- protected SerializerBase(ISerializationManager serializationManager)
- protected virtual void AfterDeserialization(ISerializationContext<TSerializationContext> context)
- protected virtual void AfterDeserializeMember(ISerializationContext<TSerializationContext> context, MemberValue memberValue)
- protected virtual void AfterSerialization(ISerializationContext<TSerializationContext> context)
- protected virtual void AfterSerializeMember(ISerializationContext<TSerializationContext> context, MemberValue memberValue)
- protected abstract void AppendContextToStream(ISerializationContext<TSerializationContext> context, Stream stream)
- protected virtual void BeforeDeserialization(ISerializationContext<TSerializationContext> context)
- protected virtual void BeforeDeserializeMember(ISerializationContext<TSerializationContext> context, MemberValue memberValue)
- protected virtual void BeforeSerialization(ISerializationContext<TSerializationContext> context)
- protected virtual void BeforeSerializeMember(ISerializationContext<TSerializationContext> context, MemberValue memberValue)
- public virtual void Deserialize(ModelBase model, Stream stream)
- public virtual void Deserialize(ModelBase model, TSerializationContext serializationContext)
- public virtual ModelBase Deserialize(Type modelType, Stream stream)
- public virtual ModelBase Deserialize(Type modelType, TSerializationContext serializationContext)
- protected abstract SerializationObject DeserializeMember(ISerializationContext<TSerializationContext> context, MemberValue memberValue)
- public virtual List<MemberValue> DeserializeMembers(Type modelType, Stream stream)
- public virtual List<MemberValue> DeserializeMembers(Type modelType, TSerializationContext serializedContext)
- protected virtual List<MemberValue> DeserializeMembers(ISerializationContext<TSerializationContext> context)
- protected ISerializationContext<TSerializationContext> GetContext(Type modelType, TSerializationContext context, SerializationContextMode contextMode)
- protected ISerializationContext<TSerializationContext> GetContext(Type modelType, Stream stream, SerializationContextMode contextMode)
- protected virtual ISerializationContext<TSerializationContext> GetContext(ModelBase model, TSerializationContext context, SerializationContextMode contextMode)
- protected abstract ISerializationContext<TSerializationContext> GetContext(ModelBase model, Stream stream, SerializationContextMode contextMode)
- protected virtual MethodInfo GetObjectParseMethod(Type memberType)
- protected virtual MethodInfo GetObjectToStringMethod(Type memberType)
- public virtual List<MemberValue> GetSerializableMembers(ISerializationContext<TSerializationContextInfo> context, object model, string[] membersToIgnore)
- protected abstract ISerializationContext<TSerializationContextInfo> GetSerializationContextInfo(object model, Type modelType, Stream stream, SerializationContextMode contextMode, ISerializationConfiguration configuration)
- protected virtual bool IsRootCollection(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected virtual bool IsRootDictionary(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected virtual bool IsRootObject(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue, Func<MemberValue, bool> predicate)
- protected virtual void PopulateModel(object model, MemberValue[] members)
- public virtual void Serialize(object model, Stream stream, ISerializationConfiguration configuration = null)
- public void Serialize(object model, ISerializationContextInfo context, ISerializationConfiguration configuration = null)
- public virtual void Serialize(object model, TSerializationContextInfo context, ISerializationConfiguration configuration = null)
- protected virtual void Serialize(object model, ISerializationContext<TSerializationContextInfo> context)
- protected abstract void SerializeMember(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- public virtual void SerializeMembers(object model, Stream stream, ISerializationConfiguration configuration, string[] membersToIgnore)
- protected virtual void SerializeMembers(ISerializationContext<TSerializationContextInfo> context, List<MemberValue> membersToSerialize)
- protected virtual string SerializeUsingObjectToString(ISerializationContext<TSerializationContextInfo> context, MemberValue memberValue)
- protected virtual bool ShouldExternalSerializerHandleMember(MemberValue memberValue)
- protected virtual bool ShouldExternalSerializerHandleMember(Type memberType)
- protected virtual bool ShouldIgnoreMember(object model, string propertyName)
- protected bool ShouldSerializeAsCollection(MemberValue memberValue)
- protected virtual bool ShouldSerializeAsCollection(Type memberType)
- protected bool ShouldSerializeAsDictionary(MemberValue memberValue)
- protected virtual bool ShouldSerializeAsDictionary(Type memberType)
- protected virtual bool ShouldSerializeEnumAsString(MemberValue memberValue, bool checkActualMemberType)
- protected virtual bool ShouldSerializeModelAsCollection(Type memberType)
- protected virtual bool ShouldSerializeUsingParseAndToString(MemberValue memberValue, bool checkActualMemberType)
- public virtual List<MemberValue> GetSerializableMembers(ModelBase model, string[] membersToIgnore)
- protected virtual void PopulateModel(ModelBase model, MemberValue[] members)
- public virtual void Serialize(ModelBase model, Stream stream)
- public virtual void Serialize(ModelBase model, TSerializationContext context)
- protected abstract void SerializeMember(ISerializationContext<TSerializationContext> context, MemberValue memberValue)
- public virtual void SerializeMembers(ModelBase model, Stream stream, string[] membersToIgnore)
- protected virtual void SerializeMembers(ISerializationContext<TSerializationContext> context, List<MemberValue> membersToSerialize)
- protected virtual bool ShouldIgnoreMember(ModelBase model, string propertyName)
-
public abstract class SerializerModifierBase : ISerializerModifier
- public virtual void OnDeserialized(ISerializationContext context, object model)
- public virtual void OnDeserializing(ISerializationContext context, object model)
- public virtual void OnSerialized(ISerializationContext context, object model)
- public virtual void OnSerializing(ISerializationContext context, object model)
- public virtual void OnDeserialized(ISerializationContext context, IModel model)
- public virtual void OnDeserializing(ISerializationContext context, IModel model)
- public virtual void OnSerialized(ISerializationContext context, IModel model)
- public virtual void OnSerializing(ISerializationContext context, IModel model)
- public virtual bool ShouldIgnoreMember(ISerializationContext context, object model, MemberValue memberValue)
- public virtual bool? ShouldSerializeAsCollection()
- public virtual bool? ShouldSerializeAsDictionary()
- public virtual bool? ShouldSerializeEnumMemberUsingToString(MemberValue memberValue)
- public virtual bool? ShouldSerializeMemberUsingParse(MemberValue memberValue)
- public virtual bool ShouldIgnoreMember(ISerializationContext context, IModel model, MemberValue memberValue)
-
public class SerializeUsingParseAndToStringAttribute : Attribute
Catel.Runtime.Serialization.Binary
Catel.Runtime.Serialization.Xml
-
public class DataContractSerializerFactory : IDataContractSerializerFactory
- public virtual DataContractSerializer GetDataContractSerializer(Type serializingType, Type typeToSerialize, string xmlName, string rootNamespace = null, object serializingObject = null, List<Type> additionalKnownTypes = null)
- public virtual List<Type> GetKnownTypes(Type serializingType, Type typeToSerialize, List<Type> additionalKnownTypes = null)
- protected virtual void GetKnownTypes(Type type, XmlSerializerTypeInfo serializerTypeInfo, bool resolveAbstractClassesAndInterfaces = true)
- protected virtual void GetKnownTypes(Type type, XmlSerializerTypeInfo serializerTypeInfo)
- protected virtual void GetKnownTypesForInstance(object obj, XmlSerializerTypeInfo serializerTypeInfo)
-
public interface ICustomXmlSerializable
-
public interface IDataContractSerializerFactory
-
public interface IXmlSerializer : IModelBaseSerializer<XmlSerializationContextInfo>, IModelBaseSerializer
-
public static class XmlSchemaHelper
-
public class XmlSchemaManager
-
public class XmlSerializationConfiguration : SerializationConfiguration
-
public class XmlSerializationContextInfo
-
public class XmlSerializationContextInfoFactory : ISerializationContextInfoFactory
-
public class XmlSerializer : SerializerBase<XmlSerializationContextInfo>, IXmlSerializer, IModelBaseSerializer<XmlSerializationContextInfo>, IModelBaseSerializer
- public XmlSerializer(ISerializationManager serializationManager, IDataContractSerializerFactory dataContractSerializerFactory, IXmlNamespaceManager xmlNamespaceManager, ITypeFactory typeFactory, IObjectAdapter objectAdapter)
- public XmlSerializerOptimalizationMode OptimalizationMode { get; set; }
- public XmlSerializer(ISerializationManager serializationManager, IDataContractSerializerFactory dataContractSerializerFactory, IXmlNamespaceManager xmlNamespaceManager)
- protected string GetXmlElementName(Type modelType, object model, string memberName)
- protected virtual XmlSerializerOptimalizationMode GetXmlOptimalizationMode(ISerializationContext<XmlSerializationContextInfo> context)
- protected virtual void OptimizeXDocument(XDocument document, ISerializationContext<XmlSerializationContextInfo> context)
- protected virtual void OptimizeXElement(XElement element, XmlSerializerOptimalizationMode optimalizationMode)
- protected virtual void OptimizeXDocument(XDocument document)
-
public enum XmlSerializerOptimalizationMode
Catel.Services
-
public class GuidObjectIdGenerator<TObjectType> : ObjectIdGenerator<TObjectType, Guid>
-
public interface ILanguageService
-
public sealed class IntegerObjectIdGenerator<TObjectType> : NumericBasedObjectIdGenerator<TObjectType, int>
-
public interface IObjectConverterService
-
public interface IObjectIdGenerator<TUniqueIdentifier>
-
public interface IObjectIdGenerator<TObjectType, TUniqueIdentifier> : IObjectIdGenerator<TUniqueIdentifier>
-
public interface IRollingInMemoryLogService
-
public class LanguageResourceKey : IEquatable<LanguageResourceKey>
-
public class LanguageResourceSource : ILanguageSource
-
public sealed class LongObjectIdGenerator<TObjectType> : NumericBasedObjectIdGenerator<TObjectType, long>
-
public abstract class NumericBasedObjectIdGenerator<TObjectType, TUniqueIdentifier> : ObjectIdGenerator<TObjectType, TUniqueIdentifier>
-
public class ObjectConverterService : IObjectConverterService
-
public abstract class ObjectIdGenerator<TObjectType, TUniqueIdentifier> : IObjectIdGenerator<TObjectType, TUniqueIdentifier>, IObjectIdGenerator<TUniqueIdentifier>
-
public class RollingInMemoryLogService : ServiceBase, IRollingInMemoryLogService
-
public sealed class ULongObjectIdGenerator<TObjectType> : NumericBasedObjectIdGenerator<TObjectType, ulong>
Catel.Services.Models
Catel.Test
Catel.Tests
Catel.Threading
System
System.ComponentModel
System.Reflection
System.Threading