Generated by DocFX

Class Result<T>

Class Result. Implements the Result

Inheritance
System.Object
Result
Result<T>
Inherited Members
Result.IsOk
Result.Message
Result.Description
Result.Exception
Result.Ok()
Result.Ok(String, String)
Result.Error(String, String)
Result.Error(Exception)
Result.ToString()
Namespace: ISynergy.Framework.UI.Models
Assembly: ISynergy.Framework.UI.dll
Syntax
public class Result<T> : Result
Type Parameters
Name Description
T

Properties

View Source

Value

Gets the value.

Declaration
public T Value { get; }
Property Value
Type Description
T

The value.

Methods

View Source

Error(Exception, T)

Errors the specified ex.

Declaration
public static Result<T> Error(Exception ex, T result = null)
Parameters
Type Name Description
Exception ex

The ex.

T result

The result.

Returns
Type Description
Result<T>

Result<T>.

View Source

Error(String, String, T)

Errors the specified message.

Declaration
public static Result<T> Error(string message = null, string description = null, T result = null)
Parameters
Type Name Description
System.String message

The message.

System.String description

The description.

T result

The result.

Returns
Type Description
Result<T>

Result<T>.

View Source

Ok(T)

Oks the specified result.

Declaration
public static Result<T> Ok(T result = null)
Parameters
Type Name Description
T result

The result.

Returns
Type Description
Result<T>

Result<T>.

View Source

Ok(String, String, T)

Oks the specified message.

Declaration
public static Result<T> Ok(string message = null, string description = null, T result = null)
Parameters
Type Name Description
System.String message

The message.

System.String description

The description.

T result

The result.

Returns
Type Description
Result<T>

Result<T>.

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)

See Also

Result