C# Class Smrf.NodeXL.UnitTests.MockEdge

Implements IEdge for testing.
Inheritance: IEdge
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_bIsDirected Boolean
m_bVerticesReturnsNull Boolean
m_iNumberOfVerticesReturned Int32
m_oVertex1 IVertex
m_oVertex2 IVertex

Public Methods

Method Description
Clone ( System.Boolean setMetadataValues, System.Boolean setTag ) : IEdge
Clone ( System.Boolean copyMetadataValues, System.Boolean copyTag, IVertex vertex1, IVertex vertex2, System.Boolean isDirected ) : IEdge
ContainsKey ( String key ) : System.Boolean
GetAdjacentVertex ( IVertex vertex ) : IVertex
GetRequiredValue ( String key, Type valueType ) : Object
GetValue ( String key ) : Object
GetValue ( String key, Type valueType ) : Object
IsAntiparallelTo ( IEdge otherEdge ) : Boolean
IsParallelTo ( IEdge otherEdge ) : Boolean
MockEdge ( IVertex oVertex1, IVertex oVertex2, Boolean bIsDirected, Boolean bVerticesReturnsNull, Int32 iNumberOfVerticesReturned ) : System
RemoveKey ( String key ) : Boolean
SetValue ( String key, Object value ) : void
ToString ( ) : String
ToString ( String format ) : String
ToString ( String format, IFormatProvider formatProvider ) : String
TryGetNonEmptyStringValue ( String key, String &value ) : Boolean
TryGetValue ( String key, Object &value ) : Boolean
TryGetValue ( String key, Type valueType, Object &value ) : Boolean

Method Details

Clone() public method

public Clone ( System.Boolean setMetadataValues, System.Boolean setTag ) : IEdge
setMetadataValues System.Boolean
setTag System.Boolean
return IEdge

Clone() public method

public Clone ( System.Boolean copyMetadataValues, System.Boolean copyTag, IVertex vertex1, IVertex vertex2, System.Boolean isDirected ) : IEdge
copyMetadataValues System.Boolean
copyTag System.Boolean
vertex1 IVertex
vertex2 IVertex
isDirected System.Boolean
return IEdge

ContainsKey() public method

public ContainsKey ( String key ) : System.Boolean
key String
return System.Boolean

GetAdjacentVertex() public method

public GetAdjacentVertex ( IVertex vertex ) : IVertex
vertex IVertex
return IVertex

GetRequiredValue() public method

public GetRequiredValue ( String key, Type valueType ) : Object
key String
valueType System.Type
return Object

GetValue() public method

public GetValue ( String key ) : Object
key String
return Object

GetValue() public method

public GetValue ( String key, Type valueType ) : Object
key String
valueType System.Type
return Object

IsAntiparallelTo() public method

public IsAntiparallelTo ( IEdge otherEdge ) : Boolean
otherEdge IEdge
return Boolean

IsParallelTo() public method

public IsParallelTo ( IEdge otherEdge ) : Boolean
otherEdge IEdge
return Boolean

MockEdge() public method

public MockEdge ( IVertex oVertex1, IVertex oVertex2, Boolean bIsDirected, Boolean bVerticesReturnsNull, Int32 iNumberOfVerticesReturned ) : System
oVertex1 IVertex
oVertex2 IVertex
bIsDirected Boolean
bVerticesReturnsNull Boolean
iNumberOfVerticesReturned Int32
return System

RemoveKey() public method

public RemoveKey ( String key ) : Boolean
key String
return Boolean

SetValue() public method

public SetValue ( String key, Object value ) : void
key String
value Object
return void

ToString() public method

public ToString ( ) : String
return String

ToString() public method

public ToString ( String format ) : String
format String
return String

ToString() public method

public ToString ( String format, IFormatProvider formatProvider ) : String
format String
formatProvider IFormatProvider
return String

TryGetNonEmptyStringValue() public method

public TryGetNonEmptyStringValue ( String key, String &value ) : Boolean
key String
value String
return Boolean

TryGetValue() public method

public TryGetValue ( String key, Object &value ) : Boolean
key String
value Object
return Boolean

TryGetValue() public method

public TryGetValue ( String key, Type valueType, Object &value ) : Boolean
key String
valueType Type
value Object
return Boolean

Property Details

m_bIsDirected protected property

protected Boolean m_bIsDirected
return Boolean

m_bVerticesReturnsNull protected property

protected Boolean m_bVerticesReturnsNull
return Boolean

m_iNumberOfVerticesReturned protected property

protected Int32 m_iNumberOfVerticesReturned
return Int32

m_oVertex1 protected property

protected IVertex m_oVertex1
return IVertex

m_oVertex2 protected property

protected IVertex m_oVertex2
return IVertex