public static DefaultChannelId NewInstance() { var id = new DefaultChannelId(); id.Init(); return(id); }
/// <summary> /// Returns a new <see cref="DefaultChannelId"/> instance. Subclasses may override this method to assign custom /// <see cref="IChannelId"/>s to <see cref="IChannel"/>s that use the <see cref="AbstractChannel"/> constructor. /// </summary> /// <returns>A new <see cref="DefaultChannelId"/> instance.</returns> protected virtual IChannelId NewId() => DefaultChannelId.NewInstance();