Beispiel #1
0
 public CocoaStringObject AddMethod(string methodName, CocoaStringObject cocoaStringObject, bool inQuotes = false, bool includesSemicolon = true)
 {
     builder.Append(CodeGenerationHelpers.GetMethod(this.Name, methodName, cocoaStringObject.Name, inQuotes, includesSemicolon));
     return(this);
 }
 public void WriteLine(CocoaStringObject viewLayer)
 {
     builder.AppendLine(viewLayer.ToString());
 }
Beispiel #3
0
 internal CocoaStringObjectDraw(CocoaStringObject parent)
 {
     this.parent = parent;
 }
 public void WriteMethod(string viewName, string methodName, CocoaStringObject cocoaStringObject, bool inQuotes = false)
 => builder.WriteMethod(viewName, methodName, cocoaStringObject.Name, inQuotes);
 public void WriteEquality(CocoaStringObject stringObject, CocoaStringObject value, bool inQuotes = false, bool instanciate = false)
 => builder.WriteEquality(stringObject.Name, value.Name, inQuotes, instanciate);
 public void WritePropertyEquality(CocoaStringObject cocoaStringObject, string propertyName, string value, bool inQuotes = false, bool instanciate = false)
 => WritePropertyEquality(cocoaStringObject.Name, propertyName, value, inQuotes, instanciate);
 public void WritePropertyEquality(CocoaStringObject codeNode, string propertyName, bool value)
 => WritePropertyEquality(codeNode.Name, propertyName, value);
 public void WriteConstructor(CocoaStringObject cocoaNodeStringObject, bool includesVar = true)
 => builder.WriteConstructor(cocoaNodeStringObject.Name, cocoaNodeStringObject.ObjectType, includesVar);