Logo Paket

TargetProfile Type

Record fields

Record Field Description

CompareString

Full Usage: CompareString

Field type: string
Field type: string

RawTargetProfile

Full Usage: RawTargetProfile

Field type: TargetProfileRaw
Field type: TargetProfileRaw

Instance members

Instance member Description

this.Frameworks

Full Usage: this.Frameworks

Returns: FrameworkIdentifier list
Returns: FrameworkIdentifier list

this.IsAtLeast

Full Usage: this.IsAtLeast

Parameters:
Returns: bool
Modifiers: inline

true when x is at least (>=) y ie when y is supported by x, for example netcore10 >= netstandard15 as netstandard15 is supported by netcore10. Note that this relation is not complete, for example for WindowsPhoneSilverlightv7.0 and Windowsv4.5 both <= and >= are false from this definition as no platform supports the other.

y : TargetProfile
Returns: bool

this.IsBetween

Full Usage: this.IsBetween

Parameters:
Returns: bool

Note that this returns true only when a >= x and x < b holds.

a : TargetProfile
b : TargetProfile
Returns: bool

this.IsSmallerThan

Full Usage: this.IsSmallerThan

Parameters:
Returns: bool
Modifiers: inline

x < y, see y >= x && x <> y

y : TargetProfile
Returns: bool

this.IsSmallerThanOrEqual

Full Usage: this.IsSmallerThanOrEqual

Parameters:
Returns: bool
Modifiers: inline
y : TargetProfile
Returns: bool

this.IsSupportedBy

Full Usage: this.IsSupportedBy

Parameters:
Returns: bool
Modifiers: inline

true when x is supported by y, for example netstandard15 is supported by netcore10

y : TargetProfile
Returns: bool

this.IsUnsupportedPortable

Full Usage: this.IsUnsupportedPortable

Returns: bool
Returns: bool

this.PlatformsSupporting

Full Usage: this.PlatformsSupporting

Returns: Set<TargetProfile>
Modifiers: inline
Returns: Set<TargetProfile>

this.SupportedPlatforms

Full Usage: this.SupportedPlatforms

Returns: Set<TargetProfile>
Modifiers: inline
Returns: Set<TargetProfile>

this.SupportedPlatformsTransitive

Full Usage: this.SupportedPlatformsTransitive

Returns: Set<TargetProfile>
Modifiers: inline

Get all platforms y for which x >= y holds

Returns: Set<TargetProfile>

Static members

Static member Description

TargetProfile.FindPortable(warnWhenUnsupported) (fws)

Full Usage: TargetProfile.FindPortable(warnWhenUnsupported) (fws)

Parameters:
Returns: TargetProfile
warnWhenUnsupported : bool
fws : FrameworkIdentifier list
Returns: TargetProfile

Type something to start searching.