Show / Hide Table of Contents

Class FactoryHelpers

Helpers to create layout parameters sets.

Inheritance
System.Object
FactoryHelpers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GraphShape.Algorithms
Assembly: GraphShape.dll
Syntax
public static class FactoryHelpers

Methods

| Improve this Doc View Source

CreateNewParameters<TParam>(IAlgorithmParameters)

Creates a new set of algorithm parameters. Clones given parameters if possible, creates default otherwise.

Declaration
public static TParam CreateNewParameters<TParam>(this IAlgorithmParameters parameters)
    where TParam : class, IAlgorithmParameters, new()
Parameters
Type Name Description
IAlgorithmParameters parameters

Set of parameters.

Returns
Type Description
TParam

Created set of parameters.

Type Parameters
Name Description
TParam

Parameter type.

  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape