1 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
2 // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
3 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
6 // Copyright (c) Microsoft Corporation. All rights reserved.
8 using System
.Collections
;
9 using System
.Collections
.Generic
;
13 namespace Microsoft
.Samples
.RecipeCatalog
15 public enum RecipeAttachmentType
22 public interface IRecipeAttachment
25 RecipeAttachmentType Type
40 Stream AttachmentStream
46 public interface IRecipeAttachmentCollection
: IEnumerable
<IRecipeAttachment
>
53 IRecipeAttachment
this[String key
]
59 public interface IRecipe
86 IRecipeAttachmentCollection Attachments
92 public interface IRecipeCollection
: IEnumerator
<IRecipe
>, IEnumerable
99 IRecipe
this[String key
]
105 string AddRecipe(XmlReader recipeDoc
);
106 IRecipeCollection
Find(string[] keyword
);