13,347
社区成员




if exist D:\fastCSharp\bin\Release\fastCSharp.exe D:\fastCSharp\bin\Release\fastCSharp.exe $(ProjectName) $(ProjectDir) $(TargetPath) $(TargetName)
list<keyValue<Type, setup.auto>> autos = setup.ui.CurrentAssembly.GetTypes()
.getFind(type => !type.IsInterface && !type.IsAbstract && type.isInterface(typeof(setup.IAuto)))
.getArray(type => new keyValue<Type, setup.auto>(type, type.customAttribute<setup.auto>(false)))
.getFind(value => value.Value != null && value.Value.IsSetup && value.Value.IsAuto);
setup.ui.Setup(autos, parameter, false);
string[] codes = parameter.Types.getArray(type => new definition { Type = type, Auto = type.customAttribute<auto>(false) })
.getFind(type => type.Auto != null && type.Auto.IsSetup && type.Auto.DependType == typeof(cSharper))
.getArray(type => type.ToString());
keyValue<Type, ajax>[] ajaxs = parameter.Types
.getArray(type => new keyValue<Type, ajax>(type, type.customAttribute<ajax>(false)))
.getFindArray(ajax => ajax.Value != null && ajax.Value.IsSetup);
foreach (keyValue<Type, ajax> ajax in ajaxs)
{
type = ajax.Key;
Attribute = ajax.Value;
UnknownToJsonType = ajax.Value.UnknownToJson != null && ajax.Value.UnknownToJson.isInterface(typeof(IUnknownToJson)) ? (memberType)ajax.Value.UnknownToJson : null;
UnknownParseJsonType = ajax.Value.UnknownParseJson != null && ajax.Value.UnknownParseJson.isInterface(typeof(IUnknownParseJson)) ? (memberType)ajax.Value.UnknownParseJson : null;
Members = setup.memberInfo.GetMembers<ajax>(ajax.Key, setup.memberInfo.filter.PublicInstance, false, true);
if (Attribute.IsToJson) memberMap.create(ajax.Key);
if (Attribute.IsParseJson && !ajax.Key.isNull()) copy.create(ajax.Key);
create(true);
}