Beispiel #1
0
 public UnityCommandDetails(UnityComponentDefinition.UnityCommandDefinition commandDefinition)
 {
     CommandName       = Formatting.SnakeCaseToCapitalisedCamelCase(commandDefinition.Name);
     CamelCaseTypeName = "spatialOS" + Formatting.QualifiedNameToCapitalisedCamelCase(commandDefinition.Name);
     RequestType       = "global::" + UnityTypeMappings.PackagePrefix +
                         Formatting.CapitaliseQualifiedNameParts(commandDefinition.RequestType.typeDefinition.QualifiedName);
     ResponseType = "global::" + UnityTypeMappings.PackagePrefix +
                    Formatting.CapitaliseQualifiedNameParts(commandDefinition.ResponseType.typeDefinition.QualifiedName);
 }
 public UnityCommandDetails(UnityComponentDefinition.UnityCommandDefinition commandDefinition)
 {
     this.commandDefinition = commandDefinition;
 }