public class Evidence extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Policy.Evidence
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.AccessControl, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.AccessControl
|
static java.lang.String |
className
Qualified class name: System.Security.Policy.Evidence
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
Evidence()
Initializes a new instance by invoking the .NET constructor.
|
Evidence(Evidence evidence)
Initializes a new instance by invoking the .NET constructor.
|
Evidence(EvidenceBase[] hostEvidence,
EvidenceBase[] assemblyEvidence)
Initializes a new instance by invoking the .NET constructor.
|
Evidence(NetObject[] hostEvidence,
NetObject[] assemblyEvidence)
Initializes a new instance by invoking the .NET constructor.
|
Evidence(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddAssembly(NetObject id)
Invokes the .NET member AddAssembly.
|
<T extends IJCOBridgeReflected> |
AddAssemblyEvidence(T evidence)
Invokes the .NET member AddAssemblyEvidence.
|
void |
AddHost(NetObject id)
Invokes the .NET member AddHost.
|
<T extends IJCOBridgeReflected> |
AddHostEvidence(T evidence)
Invokes the .NET member AddHostEvidence.
|
static Evidence |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Evidence, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
Evidence |
Clone()
Invokes the .NET member Clone.
|
void |
CopyTo(Array array,
int index)
Invokes the .NET member CopyTo.
|
IEnumerator |
GetAssemblyEnumerator()
Invokes the .NET member GetAssemblyEnumerator.
|
int |
getCount()
Gets the value of the .NET property Count.
|
IEnumerator |
GetHostEnumerator()
Invokes the .NET member GetHostEnumerator.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
boolean |
getIsSynchronized()
Gets the value of the .NET property IsSynchronized.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getLocked()
Gets the value of the .NET property Locked.
|
NetObject |
getSyncRoot()
Gets the value of the .NET property SyncRoot.
|
void |
Merge(Evidence evidence)
Invokes the .NET member Merge.
|
void |
RemoveType(NetType t)
Invokes the .NET member RemoveType.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLocked(boolean Locked)
Sets the value of the .NET property Locked.
|
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Evidence()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic Evidence(Evidence evidence) throws java.lang.Throwable
evidence - the argument of type Evidencejava.lang.Throwable - if the .NET constructor failspublic Evidence(EvidenceBase[] hostEvidence, EvidenceBase[] assemblyEvidence) throws java.lang.Throwable
hostEvidence - the argument of type EvidenceBase[]assemblyEvidence - the argument of type EvidenceBase[]java.lang.Throwable - if the .NET constructor failspublic Evidence(NetObject[] hostEvidence, NetObject[] assemblyEvidence) throws java.lang.Throwable
hostEvidence - the argument of type NetObject[]assemblyEvidence - the argument of type NetObject[]java.lang.Throwable - if the .NET constructor failspublic Evidence(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void AddAssembly(NetObject id) throws java.lang.Throwable
id - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic <T extends IJCOBridgeReflected> void AddAssemblyEvidence(T evidence) throws java.lang.Throwable
T - the type of the generic argument Tevidence - the argument of type Tjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void AddHost(NetObject id) throws java.lang.Throwable
id - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic <T extends IJCOBridgeReflected> void AddHostEvidence(T evidence) throws java.lang.Throwable
T - the type of the generic argument Tevidence - the argument of type Tjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Evidence cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Evidence, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEvidence instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Evidence Clone() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void CopyTo(Array array, int index) throws java.lang.Throwable
array - the argument of type Arrayindex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerator GetAssemblyEnumerator() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerator GetHostEnumerator() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsSynchronized()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic boolean getLocked()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getSyncRoot() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Merge(Evidence evidence) throws java.lang.Throwable
evidence - the argument of type Evidencejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveType(NetType t) throws java.lang.Throwable
t - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic void setLocked(boolean Locked)
throws java.lang.Throwable
Locked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR