internal UserState() { ConnectionContexts = new ConnectionContexts(); PrivateKeys = new PrivateKeys(); InstanceTags = new InstanceTags(); PendingPrivateKey = null; TimerRunning = 0; }
public static InstanceTags GetInstanceTags(Collection<instancetag> instancetags) { var results = new InstanceTags(); foreach (instancetag instancetag in instancetags) { var tag = new InstanceTag(instancetag.Account, instancetag.Protocol); tag.SetInstanceTag(instancetag.InstanceTag); results.Add(tag); } return results; }