Show / Hide Table of Contents

Class License

Describes a license.

Inheritance
object
License
SpdxLicense
TextLicense
Implements
INameable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Resources
Assembly: MCART.dll
Syntax
public class License : INameable
Remarks

Initializes a new instance of the License.

Constructors

| Edit this page View Source

License(string, Uri?)

Describes a license.

Declaration
public License(string name, Uri? uri)
Parameters
Type Name Description
string name

Name of the license.

Uri uri

Uri that obtains the location of the license content.

Remarks

Initializes a new instance of the License.

Properties

| Edit this page View Source

LicenseContent

Gets the content of the license.

Declaration
public virtual string LicenseContent { get; }
Property Value
Type Description
string
| Edit this page View Source

LicenseUri

Gets the URL of the license.

Declaration
public Uri? LicenseUri { get; }
Property Value
Type Description
Uri
| Edit this page View Source

MissingLicense

Gets a reference to a missing license.

Declaration
public static License MissingLicense { get; }
Property Value
Type Description
License
| Edit this page View Source

Name

Gets the descriptive name of the license.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

NoLicense

Gets a reference to a license-less object.

Declaration
public static License NoLicense { get; }
Property Value
Type Description
License
| Edit this page View Source

Unspecified

Gets a reference to an object with an unspecified license.

Declaration
public static License Unspecified { get; }
Property Value
Type Description
License

Implements

INameable

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX