C# Class Monobjc.Tools.Generator.Utilities.AvailabilityHelper

Afficher le fichier Open project: Monobjc/monobjc-tools

Méthodes publiques

Méthode Description
AddMention ( BaseEntity baseEntity, String line ) : bool

Adds the availability mention.

GetDefine ( String availability ) : String

Gets the define string for the given version of OS.

GetVersion ( String availability, System.Version defaultVersion ) : System.Version

Gets the define string for the given version of OS.

Private Methods

Méthode Description
CreateAvailabilityStrings ( ) : string>.IDictionary

Set the define to use for each version of OS.

CreateAvailabilityVersions ( ) : Version>.IDictionary

Set the define to use for each version of OS.

Method Details

AddMention() public static méthode

Adds the availability mention.
public static AddMention ( BaseEntity baseEntity, String line ) : bool
baseEntity BaseEntity
line String
Résultat bool

GetDefine() public static méthode

Gets the define string for the given version of OS.
public static GetDefine ( String availability ) : String
availability String
Résultat String

GetVersion() public static méthode

Gets the define string for the given version of OS.
public static GetVersion ( String availability, System.Version defaultVersion ) : System.Version
availability String
defaultVersion System.Version
Résultat System.Version