コード例 #1
0
ファイル: Network.cs プロジェクト: minglumlu/xenadmin
        private string PIFName(PIF pif)
        {
            bool bond;

            if (pif.VLAN >= 0)
            {
                return(string.Format(Messages.VLAN_NETWORK_NAME, pif.NICIdentifier(out bond), pif.VLAN));
            }
            else
            {
                return(string.Format(Messages.NETWORK_NAME, pif.NICIdentifier(out bond)));
            }
        }
コード例 #2
0
        private string PIFName(PIF pif)
        {
            bool bond;

            return(string.Format(Messages.NETWORK_NAME, pif.NICIdentifier(out bond)));
        }