protected SuperNet(SuperSyncContext context = null) : base(context) { mSerializer.SerializeCustomers.Add(new TaskSerializeCustomer(this)); mSerializer.DeserializeCustomers.Add(new TaskDeserializeCustomer(this)); mSerializer.SerializeCustomers.Add(new InterfaceSerializeCustomer(this)); mSerializer.DeserializeCustomers.Add(new InterfaceDeserializeCustomer(this)); mSerializer.SerializeCustomers.Add(new DelegateSerializeCustomer(this)); mSerializer.DeserializeCustomers.Add(new DelegateDeserializeCustomer(this)); mSerializer.SerializeCustomers.Add(new DeclarationWrapperSerializeCustomer()); }
public SuperClient(SuperSyncContext context = null) : base(context) { }
protected Super(SuperSyncContext context = null) { mContext = context ?? new SuperDefaultSyncContext(); mAssemblyBuilder = AppDomain.CurrentDomain.DefineDynamicAssembly(mAssemblyName, AssemblyBuilderAccess.RunAndSave); }
public SuperServer(SuperSyncContext context = null) : base(context) { }