public static void AddSharedFile(SteamDepotSharedFile sharedFile) { if (sharedFile == null) throw new ArgumentNullException("sharedFile"); sharedFile.SourceDepot.AddSharedFile(sharedFile); SteamDepot[] clientDepots = sharedFile.GetClientDepots(); foreach (SteamDepot clientDepot in clientDepots) clientDepot.AddSharedFile(sharedFile); }
public void AddSharedFile(SteamDepotSharedFile sharedFile) { sharedFiles.Add(sharedFile); }