protected override string FormatHeader() { string output = String.Empty; // static function (string?:) Name(Parms)... if (HasFunctionFlag(Flags.FunctionFlags.Native)) { // Output native declaration. output = String.Format("// Export U{0}::exec{1}(FFrame&, void* const)\r\n{2}", Outer.Name, Name, UDecompilingState.Tabs ); } var metaData = DecompileMeta(); if (metaData != String.Empty) { output = metaData + "\r\n" + output; } output += FormatFlags() + (ReturnProperty != null ? ReturnProperty.GetFriendlyType() + " " : String.Empty) + FriendlyName + FormatParms(); if (HasFunctionFlag(Flags.FunctionFlags.Const)) { output += " const"; } return(output); }
public CustomPeer(FrameworkElement owner, ReturnProperty nameRoute) : base(owner) { returnProperty = nameRoute; }