ClassProductReferenceAttribute
Definition
Namespace:Telerik.Licensing
Assembly:Telerik.JustMock.dll
Syntax:
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class ProductReferenceAttribute : Attribute
Inheritance: objectAttributeProductReferenceAttribute
Inherited Members
Constructors
ProductReferenceAttribute(string, string, string, string, string)
In .NET Framework non-SDK style projects, we don't get transitive dependencies, running Telerik.Licensing on a class lib will mark the lib with ProductReferenceAttribute, so we can transfer the knowledge in: Telerik -> Lib -> Exe setup. This can still fail in Telerik -> Lib2 -> Lib1 -> Exe.
Declaration
public ProductReferenceAttribute(string productCode, string licenseDate, string redistributedBy, string productName, string productVersion)
Parameters
productCode
The product code.
licenseDate
The product license date, the release date of the required Telerik .DLL, in YYYY-MM-DD
redistributedBy
A ";" separated list of product codes that also redistribute the required one. For example a BLAZOR license allows you to use DPL.
productName
The product name.
productVersion
The product version.
Properties
ProductName
A product name, display friendly english version of the product name, e.g. "Telerik UI for WPF". Non-essential for license lookup. Not included in hash code or equality comparison.
ProductVersion
A product version, used only for display purposes. Non-essential for license lookup. Not included in hash code or equality comparison.
RedistributedBy
Some products like DPL, are not licensed on their own, but are redistributed and licensed by others like BLAZOR, MAUI etc.