Пример #1
0
 internal void AddToResourceList(ManifestResource res)
 {
     Contract.Requires(res != null);
     resources.Add(res);
 }
Пример #2
0
 /// <summary>
 /// Add a managed resource from another assembly.
 /// </summary>
 /// <param name="mr"></param>
 /// <param name="isPublic"></param>
 public void AddExternalManagedResource(ManifestResource mr, bool isPublic)
 {
     Contract.Requires(mr != null);
     resources.Add(new ManifestResource(this, mr, isPublic));
 }