예제 #1
0
 public static bool IsComponentResourceReference(string resourceReference)
 {
     if (ProjectItemBase.isComponentUriHelper(resourceReference, "pack://application:,,,/"))
     {
         return(true);
     }
     if (ProjectItemBase.isComponentUriHelper(resourceReference, "/"))
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 public virtual bool IsComponentUri(string resourceReference)
 {
     return(ProjectItemBase.IsComponentResourceReference(resourceReference));
 }
 public ResourceReferenceCreator(ProjectItemBase resourceItem)
 {
     this.resourceItem = resourceItem;
 }