bool IDefinitionInstallerContext.AnnotateObject(IAnnotetable annotetableObject, IEnumerable <KeyValuePair <string, string> > annotations) { if (annotetableObject == null) { return(false); } if (annotations == null) { return(false); } foreach (var pair in annotations) { if (!String.IsNullOrEmpty(pair.Key)) { if (this.InstallMetaAnnotations || !pair.Key.StartsWith("ist.meta.")) { annotetableObject.Annotate(pair.Key, pair.Value); } } } return(true); }
bool IInstallerContext.AnnotateObject(IAnnotetable annotetableObject, IEnumerable<KeyValuePair<string, string>> annotations) { if (annotetableObject == null) return false; if (annotations == null) return false; foreach (var pair in annotations) { if (!String.IsNullOrEmpty(pair.Key)) { if (this.InstallMetaAnnotations || !pair.Key.StartsWith("ist.meta.")) annotetableObject.Annotate(pair.Key, pair.Value); } } return true; }