コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StorageSyncNetworkLimitConfiguration" /> class.
 /// </summary>
 /// <param name="entry">The entry.</param>
 public StorageSyncNetworkLimitConfiguration(INetworkLimitConfigEntry entry = null)
 {
     if (entry != null)
     {
         Id          = entry.Id;
         Day         = entry.Day;
         StartHour   = entry.StartHour;
         StartMinute = entry.StartMinute;
         EndHour     = entry.EndHour;
         EndMinute   = entry.EndMinute;
         LimitKbps   = entry.LimitKbps;
     }
 }
コード例 #2
0
 public string NewNetworkLimit([In, MarshalAs(UnmanagedType.Interface)] INetworkLimitConfigEntry config)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 public string NewNetworkLimit([In, MarshalAs(UnmanagedType.Interface)] INetworkLimitConfigEntry config)
 {
     return(m_managementObject.NewNetworkLimit(config));
 }