src/Azos/IO/Net/Gate/NetGate.cs
/// <summary>
/// Returns existing NetSiteState object for specified address, first checking group membership or null
/// </summary>
Returns existing NetSiteState object for specified address, first checking group membership or null
Returns existing NetSiteState object for specified address first checking group membership or null
public NetSiteState FindNetSiteStateForAddress(string address, ref Group group)
                {
                  NetSiteState result;
                  if (group==null) group = FindGroupForAddress(address);
                  if (group!=null)
                    if (NetState.TryGetValue(group.Key, out result)) return result;
                  if (NetState.TryGetValue(address, out result)) return result;
                  return null;
                }
public NetSiteState FindNetSiteStateForAddress ( string address , ref Group group ) { NetSiteState result ; if ( group == null ) group = FindGroupForAddress ( address ) ; if ( group != null ) if ( NetState . TryGetValue ( group . Key , out result ) ) return result ; if ( NetState . TryGetValue ( address , out result ) ) return result ; return null ; }
Returns existing NetSiteState object for specified address, first checking group membership or null
Returns existing NetSiteState object for specified address first checking group membership or null
address
string
Group
ref