} // ctor public void WriteType(DEListTypeWriter xml) { xml.WriteStartType("line"); xml.WriteProperty("@stamp", typeof(DateTime)); xml.WriteProperty("@typ", typeof(string)); xml.WriteProperty(".", typeof(string)); xml.WriteEndType(); } // proc WriteType
} // ctor public void WriteType(DEListTypeWriter xml) { xml.WriteStartType("item"); xml.WriteProperty("@id", typeof(string)); xml.WriteProperty("@displayname", typeof(string)); xml.WriteProperty("@bound", typeof(string)); xml.WriteProperty("@supportsCancellation", typeof(bool)); xml.WriteProperty("@runTimeSlice", typeof(TimeSpan)); xml.WriteProperty("@nextrun", typeof(DateTime)); xml.WriteEndType(); } // proc WriteType
} // ctor public void WriteType(DEListTypeWriter xml) { xml.WriteStartType(sTypeName); for (int i = 0; i < properties.Count; i++) { xml.WriteProperty(properties[i].Key.Name, properties[i].Value.PropertyType); } xml.WriteEndType(); } // proc WriteType
} // ctor public void WriteType(DEListTypeWriter xml) { xml.WriteStartType(typeName); for (var i = 0; i < properties.Length; i++) { properties[i].WriteType(xml); } xml.WriteEndType(); } // proc WriteType
} // ctor public void WriteType(DEListTypeWriter xml) { xml.WriteStartType("argument"); xml.WriteProperty("@name", typeof(string)); xml.WriteProperty("@type", typeof(Type)); xml.WriteProperty(".", typeof(string)); xml.WriteEndType(); xml.WriteStartType("action"); xml.WriteProperty("@id", typeof(string)); xml.WriteProperty("@description", typeof(string)); xml.WriteProperty("@safecall", typeof(bool)); xml.WriteProperty("@security", typeof(string)); xml.WriteProperty("arguments", "argument[]"); xml.WriteProperty("@return", typeof(string)); xml.WriteEndType(); } // proc WriteType
} // func GetValueSafge public void WriteType(DEListTypeWriter xml) => xml.WriteProperty(attribute.Name, propertyDescriptor.PropertyType);