コード例 #1
0
        public IBreadcrumbsStyleSchema GetBreadcrumbStyleSchema(BreadcrumbsStyle name)
        {
            switch (name)
            {
            case BreadcrumbsStyle.Default:
                return(ElementDesignerStyles.DefaultBreadcrumbsStyleSchema);

            //break;
            default:
                throw new ArgumentOutOfRangeException("name", name, null);
            }
        }
コード例 #2
0
 public IBreadcrumbsStyleSchema GetBreadcrumbStyleSchema(BreadcrumbsStyle name)
 {
     switch (name)
     {
         case BreadcrumbsStyle.Default:
             return ElementDesignerStyles.DefaultBreadcrumbsStyleSchema;
             break;
         default:
             throw new ArgumentOutOfRangeException("name", name, null);
     }
 }