Show / Hide Table of Contents

Class Securable<T>

Generic class that indicates whether or not the given value is secured from the current user.

Inheritance
System.Object
Securable<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Models
Assembly: Relativity.Testing.Framework.dll
Syntax
[Serializable]
public class Securable<T>
Type Parameters
Name Description
T

The type of the value that may be secured. The type should be nullable.

Constructors

| Improve this Doc View Source

Securable()

Initializes a new instance of the Securable<T> class.

Declaration
public Securable()
| Improve this Doc View Source

Securable(T)

Initializes a new instance of the Securable<T> class.

Declaration
public Securable(T value)
Parameters
Type Name Description
T value

The value that may be secured.

Properties

| Improve this Doc View Source

Secured

Gets or sets a value indicating whether whether or not the current user has permission to view the given value.

Declaration
public bool Secured { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Value

Gets or sets the value that may or may not be secured.

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

If the value is secured, Value will be null.

Operators

| Improve this Doc View Source

Explicit(Securable<T> to T)

Declaration
public static explicit operator T(Securable<T> value)
Parameters
Type Name Description
Securable<T> value
Returns
Type Description
T
| Improve this Doc View Source

Implicit(T to Securable<T>)

Declaration
public static implicit operator Securable<T>(T value)
Parameters
Type Name Description
T value
Returns
Type Description
Securable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX