//# __________ PROTOCOL :: LOOSE __________ #// public VmLoose AddLooseNest() { VmLoose nest = new VmLoose(); nest.Id = -1; return nest; }
public void PersistAliasNestScan(VmTag tag) { Nest = new VmLoose(); if( ! Scan.Nest.IsLoose() ) { VmAliasManifest alias = VmAliasManager.Default.LazyCreateAlias(tag, Nest.Id); VmAssignAliasToNestEvent o = new VmAssignAliasToNestEvent(); o.Id = VmAirportData.Default.AirportOutputData.IdentityFile.GetNextIdentity(); o.AliasId = alias.AliasId; o.NestId = Scan.Nest.Id; o.UserLogin = VmAccountData.Default.User.UserName; o.EventUtcTs = JwTimestamp.CreateNowUtc(); AssignAliasToNestEventFile.Append(o); } MixedEventManager.AliasEventManager.HandleScan(tag); Nest = Scan.Nest; }