This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ProtobufTools.
Summary
Automatically determines the
OSTarget
.
- Assembly
- Cake
.ProtobufTools .dll - Namespace
- Cake
.ProtobufTools - Containing Type
- ProtobufTools
Syntax
public static OSTarget GetTarget(Nullable<OSTarget> source, ICakePlatform platform)
Remarks
Throws an exception if it can't determine the OS.
Parameters
Name | Type | Description |
---|---|---|
source | Nullable |
The target specified by user, can be null. |
platform | ICakePlatform | The Cake platform. |