Search Results for

    Show / Hide Table of Contents

    Class Evidence

    Inheritance
    System.Object
    Evidence
    Implements
    System.Collections.ICollection
    System.Collections.IEnumerable
    Namespace: System.Security.Policy
    Assembly: IronZip.dll
    Syntax
    public sealed class Evidence : Object

    Constructors

    Evidence()

    Declaration
    public Evidence()

    Evidence(Object[], Object[])

    Declaration
    public Evidence(object[] hostEvidence, object[] assemblyEvidence)
    Parameters
    Type Name Description
    System.Object[] hostEvidence
    System.Object[] assemblyEvidence

    Evidence(Evidence)

    Declaration
    public Evidence(Evidence evidence)
    Parameters
    Type Name Description
    Evidence evidence

    Evidence(EvidenceBase[], EvidenceBase[])

    Declaration
    public Evidence(EvidenceBase[] hostEvidence, EvidenceBase[] assemblyEvidence)
    Parameters
    Type Name Description
    EvidenceBase[] hostEvidence
    EvidenceBase[] assemblyEvidence

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean

    IsSynchronized

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type Description
    System.Boolean

    Locked

    Declaration
    public bool Locked { get; set; }
    Property Value
    Type Description
    System.Boolean

    SyncRoot

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type Description
    System.Object

    Methods

    AddAssembly(Object)

    Declaration
    public void AddAssembly(object id)
    Parameters
    Type Name Description
    System.Object id

    AddAssemblyEvidence<T>(T)

    Declaration
    public void AddAssemblyEvidence<T>(T evidence)
        where T : EvidenceBase
    Parameters
    Type Name Description
    T evidence
    Type Parameters
    Name Description
    T

    AddHost(Object)

    Declaration
    public void AddHost(object id)
    Parameters
    Type Name Description
    System.Object id

    AddHostEvidence<T>(T)

    Declaration
    public void AddHostEvidence<T>(T evidence)
        where T : EvidenceBase
    Parameters
    Type Name Description
    T evidence
    Type Parameters
    Name Description
    T

    Clear()

    Declaration
    public void Clear()

    Clone()

    Declaration
    public Evidence Clone()
    Returns
    Type Description
    Evidence

    CopyTo(Array, Int32)

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    System.Array array
    System.Int32 index

    GetAssemblyEnumerator()

    Declaration
    public IEnumerator GetAssemblyEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    GetAssemblyEvidence<T>()

    Declaration
    public T GetAssemblyEvidence<T>()
        where T : EvidenceBase
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetEnumerator()

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    GetHostEnumerator()

    Declaration
    public IEnumerator GetHostEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    GetHostEvidence<T>()

    Declaration
    public T GetHostEvidence<T>()
        where T : EvidenceBase
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Merge(Evidence)

    Declaration
    public void Merge(Evidence evidence)
    Parameters
    Type Name Description
    Evidence evidence

    RemoveType(Type)

    Declaration
    public void RemoveType(Type t)
    Parameters
    Type Name Description
    System.Type t

    Implements

    System.Collections.ICollection
    System.Collections.IEnumerable
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.