Show / Hide Table of Contents

Class General

Inheritance
System.Object
General
Namespace: CycloneDX.Spdx.Interop.Helpers
Assembly: CycloneDX.Spdx.Interop.dll
Syntax
public static class General : object

Methods

| Improve this Doc View Source

AddSpdxElement(List<Property>, String, String)

Declaration
public static void AddSpdxElement(this List<Property> properties, string propertyName, string spdxElement)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
System.String spdxElement
| Improve this Doc View Source

AddSpdxElement<T>(List<Property>, String, T)

Declaration
public static void AddSpdxElement<T>(this List<Property> properties, string propertyName, T spdxElement)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
T spdxElement
Type Parameters
Name Description
T
| Improve this Doc View Source

AddSpdxElements(List<Property>, String, List<String>)

Declaration
public static void AddSpdxElements(this List<Property> properties, string propertyName, List<string> spdxElements)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
List<System.String> spdxElements
| Improve this Doc View Source

AddSpdxElements<T>(List<Property>, String, List<T>)

Declaration
public static void AddSpdxElements<T>(this List<Property> properties, string propertyName, List<T> spdxElements)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
List<T> spdxElements
Type Parameters
Name Description
T
| Improve this Doc View Source

Base64Decode(String)

Declaration
public static string Base64Decode(this string base64EncodedData)
Parameters
Type Name Description
System.String base64EncodedData
Returns
Type Description
System.String
| Improve this Doc View Source

Base64Encode(String)

Declaration
public static string Base64Encode(this string plainText)
Parameters
Type Name Description
System.String plainText
Returns
Type Description
System.String
| Improve this Doc View Source

GetSpdxElement(List<Property>, String)

Declaration
public static string GetSpdxElement(this List<Property> properties, string propertyName)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
Returns
Type Description
System.String
| Improve this Doc View Source

GetSpdxElement<T>(List<Property>, String)

Declaration
public static T GetSpdxElement<T>(this List<Property> properties, string propertyName)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetSpdxElements(List<Property>, String)

Declaration
public static List<string> GetSpdxElements(this List<Property> properties, string propertyName)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
Returns
Type Description
List<System.String>
| Improve this Doc View Source

GetSpdxElements<T>(List<Property>, String)

Declaration
public static List<T> GetSpdxElements<T>(this List<Property> properties, string propertyName)
Parameters
Type Name Description
List<Property> properties
System.String propertyName
Returns
Type Description
List<T>
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX