internal PropertyParameter(KnownParameters paramType, KnownProperties propAssignedTo, T value)
        {
            Parameter = paramType;
            Name      = paramType.GetvCardName();
            PropertyInfo pValu = GetType().GetRuntimeProperty("Value");

            pValu.SetValue(this, value);
            PropertyAssignedTo = propAssignedTo;
        }
Exemple #2
0
        public dynamic GetPropertyValue(string propertyName)
        {
            if (KnownProperties.TryGetValue(propertyName, out var value))
            {
                return(value);
            }

            // Real builds have lots of properties added by the project file and maybe the build system. Returning null here to
            // signal an undefined property might not match real-world results of this method, so throw an exception so tests
            // can't accidently rely on test-only behaviour.
            throw new NotImplementedException();
        }
        internal static string GetvCardName(this KnownProperties value)
        {
            switch (value)
            {
            case KnownProperties.read_not_parsed_yet:
            case KnownProperties.extended:
            case KnownProperties.unknown:
                return(string.Empty);

            default:
                return(value.ToString());
            }
        }
Exemple #4
0
        private void PopulateKnownData()
        {
            KnownKeywords   = " ";
            KnownProperties = " ";
            KnownTypes      = " ";

            List <Type> types = new List <Type>();

            types.AddRange(typeof(Api.Sketch).Assembly.GetTypes());
            types.Add(typeof(SketchIt.Windows.Application));

            foreach (Type type in types)
            {
                if (KnownTypes.IndexOf(" " + type.Name + " ") == -1)
                {
                    KnownTypes += KnownTypes.Length == 0 ? "" : " ";
                    KnownTypes += type.Name;
                }

                //foreach (MethodInfo method in type.GetMethods())
                //{
                //    if (method.IsPublic)
                //    {
                //        KnownKeywords += KnownKeywords.Length == 0 ? "" : " ";
                //        KnownKeywords += method.Name;
                //    }
                //}

                foreach (MemberInfo member in type.GetMembers())
                {
                    if (KnownKeywords.IndexOf(" " + member.Name + " ") == -1)
                    {
                        KnownKeywords += KnownKeywords.Length == 0 ? "" : " ";
                        KnownKeywords += member.Name;
                    }
                }

                foreach (PropertyInfo property in type.GetProperties())
                {
                    //if (property.IsPublic)
                    {
                        KnownProperties += KnownProperties.Length == 0 ? "" : " ";
                        KnownProperties += property.Name;
                    }
                }
            }

            KnownTypes      = KnownTypes.Trim();
            KnownKeywords   = KnownKeywords.Trim();
            KnownProperties = KnownProperties.Trim();
        }
Exemple #5
0
 public SORT_AS(KnownProperties property, List <string> value) : base(KnownParameters.SORT_AS, property, value)
 {
 }
Exemple #6
0
 public PREF(KnownProperties property, byte value) : base(KnownParameters.PREF, property, value)
 {
 }
Exemple #7
0
 public PID(KnownProperties property, List <PID_Value> value) : base(KnownParameters.PID, property, value)
 {
 }
 /// <summary>
 /// internal method used to define the known property and then apply the standard-defined property name
 /// </summary>
 /// <param name="p"></param>
 protected void SetProperty(KnownProperties p)
 {
     Property = p;
     Name     = p.GetvCardName();
 }
        internal static KnownParameters GetAllowedParameters(this KnownProperties prop)
        {
            // BEGIN | END | CLIENTPIDMAP can not have properties
            if (prop == KnownProperties.BEGIN || prop == KnownProperties.END || prop == KnownProperties.CLIENTPIDMAP)
            {
                return(KnownParameters.read_not_parsed_yet);
            }

            // Default one param = VALUE.
            KnownParameters res = KnownParameters.VALUE;

            switch (prop)
            {
            case KnownProperties.KIND:
            case KnownProperties.GENDER:
            case KnownProperties.PRODID:
            case KnownProperties.REV:
            case KnownProperties.UID:
            case KnownProperties.VERSION:
                return(res);

            // All other properties include ALTID param.
            default:
                res = res | KnownParameters.ALTID;
                break;
            }

            // return props with 2, 3 & 4 params
            switch (prop)
            {
            case KnownProperties.XML:
                return(res);

            case KnownProperties.BDAY:
            case KnownProperties.ANNIVERSARY:
                return(res | KnownParameters.CALSCALE);

            case KnownProperties.N:
                return(res | KnownParameters.LANGUAGE | KnownParameters.SORT_AS);

            // All other properties include PID & PREF params.
            default:
                res = res |
                      KnownParameters.PID |
                      KnownParameters.PREF;
                break;
            }

            // return the props with 5 params.
            // base 4 = VALUE | ALTID | PID | PREF
            switch (prop)
            {
            // base 4 | MEDIATYPE
            case KnownProperties.SOURCE:
            case KnownProperties.MEMBER:
                return(res | KnownParameters.MEDIATYPE);

            // base 4 | TYPE
            case KnownProperties.TEL:
            case KnownProperties.EMAIL:
            case KnownProperties.LANG:
            case KnownProperties.RELATED:
            case KnownProperties.CATEGORIES:
                return(res | KnownParameters.TYPE);

            // All other propterties include the TYPE param.
            default:
                res = res |
                      KnownParameters.TYPE;
                break;
            }

            // return the props with 6 params
            // base 5 = VALUE | ALTID | PID | PREF | TYPE
            switch (prop)
            {
            // base 5 | MEDIATYPE
            case KnownProperties.PHOTO:
            case KnownProperties.IMPP:
            case KnownProperties.TZ:
            case KnownProperties.GEO:
            case KnownProperties.URL:
            case KnownProperties.KEY:
            case KnownProperties.FBURL:
            case KnownProperties.CALADRURI:
            case KnownProperties.CALURI:
                return(res | KnownParameters.MEDIATYPE);

            // All other properties include the LANGUAGE param.
            default:
                res = res | KnownParameters.LANGUAGE;
                break;
            }

            // base 6 = VALUE | ALTID | PID | PREF | TYPE | LANGUAGE
            switch (prop)
            {
            // base 6 | SORT_AS
            case KnownProperties.ORG:
                return(res | KnownParameters.SORT_AS);

            // base 6 | MEDIATYPE
            case KnownProperties.LOGO:
            case KnownProperties.SOUND:
                return(res | KnownParameters.MEDIATYPE);

            // base 6 | GEO | LABEL | TZ
            case KnownProperties.ADR:
                return(res |
                       KnownParameters.GEO |
                       KnownParameters.LABEL |
                       KnownParameters.TZ);

            // just the base 6
            // Should be FN, NICKNAME, TITLE, ROLE, NOTE
            default:
                return(res);
            }
        }
Exemple #10
0
 /// <summary>
 ///     Starts the playing of the animation
 /// </summary>
 /// <param name="targetObject">
 ///     The target object to change the property
 /// </param>
 /// <param name="property">
 ///     The property to change
 /// </param>
 public void Play(object targetObject, KnownProperties property)
 {
     Play(targetObject, property, null);
 }
Exemple #11
0
 public TZ(KnownProperties property, Uri value) : base(KnownParameters.TZ, property, value)
 {
 }
Exemple #12
0
 public GEO(KnownProperties property, GeoUri value) : base(KnownParameters.GEO, property, value)
 {
 }
Exemple #13
0
 private static BamlAttributeUsage GetAttributeUsageFromKnownAttribute(KnownProperties knownId) 
 {
     if (knownId == KnownProperties.FrameworkElement_Name) 
     { 
         return BamlAttributeUsage.RuntimeName;
     } 
     else
     {
         return BamlAttributeUsage.Default;
     } 
 }
Exemple #14
0
 private string GetAttributeNameFromKnownId(KnownProperties knownId) 
 {
     if(knownId < KnownProperties.MaxDependencyProperty)
     {
         DependencyProperty dp = KnownTypes.GetKnownDependencyPropertyFromId(knownId); 
         return dp.Name;
     } 
     else 
     {
         return KnownTypes.GetKnownClrPropertyNameFromId(knownId); 
     }
 }
 public UnknownParameter(KnownProperties property, string value) : base(KnownParameters.unknown, property, value)
 {
 }
Exemple #16
0
 // This code 'knows' that all non-DP (clr) KnownProperties are
 // also Content Properties.  As long as that is true there is no 
 // need for a second string table, and we can just cross reference. 
 internal static string GetKnownClrPropertyNameFromId(KnownProperties knownProperty)
 { 
     KnownElements knownElement = GetKnownElementFromKnownCommonProperty(knownProperty);
     string name = GetContentPropertyName(knownElement);
     return name;
 } 
Exemple #17
0
 internal static KnownElements GetKnownElementFromKnownCommonProperty(KnownProperties knownProperty) 
 {
     switch (knownProperty) 
     { 
         case KnownProperties.AccessText_Text:
             return KnownElements.AccessText; 
         case KnownProperties.AdornedElementPlaceholder_Child:
             return KnownElements.AdornedElementPlaceholder;
         case KnownProperties.AdornerDecorator_Child:
             return KnownElements.AdornerDecorator; 
         case KnownProperties.AnchoredBlock_Blocks:
             return KnownElements.AnchoredBlock; 
         case KnownProperties.ArrayExtension_Items: 
             return KnownElements.ArrayExtension;
         case KnownProperties.BeginStoryboard_Storyboard: 
             return KnownElements.BeginStoryboard;
         case KnownProperties.BitmapEffectGroup_Children:
             return KnownElements.BitmapEffectGroup;
         case KnownProperties.BlockUIContainer_Child: 
             return KnownElements.BlockUIContainer;
         case KnownProperties.Bold_Inlines: 
             return KnownElements.Bold; 
         case KnownProperties.BooleanAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.BooleanAnimationUsingKeyFrames; 
         case KnownProperties.Border_Background:
         case KnownProperties.Border_BorderBrush:
         case KnownProperties.Border_BorderThickness:
         case KnownProperties.Border_Child: 
             return KnownElements.Border;
         case KnownProperties.BulletDecorator_Child: 
             return KnownElements.BulletDecorator; 
         case KnownProperties.Button_Content:
             return KnownElements.Button; 
         case KnownProperties.ButtonBase_Command:
         case KnownProperties.ButtonBase_CommandParameter:
         case KnownProperties.ButtonBase_CommandTarget:
         case KnownProperties.ButtonBase_Content: 
         case KnownProperties.ButtonBase_IsPressed:
             return KnownElements.ButtonBase; 
         case KnownProperties.ByteAnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.ByteAnimationUsingKeyFrames;
         case KnownProperties.Canvas_Children: 
             return KnownElements.Canvas;
         case KnownProperties.CharAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.CharAnimationUsingKeyFrames;
         case KnownProperties.CheckBox_Content: 
             return KnownElements.CheckBox;
         case KnownProperties.ColorAnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.ColorAnimationUsingKeyFrames; 
         case KnownProperties.ColumnDefinition_MaxWidth:
         case KnownProperties.ColumnDefinition_MinWidth: 
         case KnownProperties.ColumnDefinition_Width:
             return KnownElements.ColumnDefinition;
         case KnownProperties.ComboBox_Items:
             return KnownElements.ComboBox; 
         case KnownProperties.ComboBoxItem_Content:
             return KnownElements.ComboBoxItem; 
         case KnownProperties.ContentControl_Content: 
         case KnownProperties.ContentControl_ContentTemplate:
         case KnownProperties.ContentControl_ContentTemplateSelector: 
         case KnownProperties.ContentControl_HasContent:
             return KnownElements.ContentControl;
         case KnownProperties.ContentElement_Focusable:
             return KnownElements.ContentElement; 
         case KnownProperties.ContentPresenter_Content:
         case KnownProperties.ContentPresenter_ContentSource: 
         case KnownProperties.ContentPresenter_ContentTemplate: 
         case KnownProperties.ContentPresenter_ContentTemplateSelector:
         case KnownProperties.ContentPresenter_RecognizesAccessKey: 
             return KnownElements.ContentPresenter;
         case KnownProperties.ContextMenu_Items:
             return KnownElements.ContextMenu;
         case KnownProperties.Control_Background: 
         case KnownProperties.Control_BorderBrush:
         case KnownProperties.Control_BorderThickness: 
         case KnownProperties.Control_FontFamily: 
         case KnownProperties.Control_FontSize:
         case KnownProperties.Control_FontStretch: 
         case KnownProperties.Control_FontStyle:
         case KnownProperties.Control_FontWeight:
         case KnownProperties.Control_Foreground:
         case KnownProperties.Control_HorizontalContentAlignment: 
         case KnownProperties.Control_IsTabStop:
         case KnownProperties.Control_Padding: 
         case KnownProperties.Control_TabIndex: 
         case KnownProperties.Control_Template:
         case KnownProperties.Control_VerticalContentAlignment: 
             return KnownElements.Control;
         case KnownProperties.ControlTemplate_VisualTree:
             return KnownElements.ControlTemplate;
         case KnownProperties.DataTemplate_VisualTree: 
             return KnownElements.DataTemplate;
         case KnownProperties.DataTrigger_Setters: 
             return KnownElements.DataTrigger; 
         case KnownProperties.DecimalAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.DecimalAnimationUsingKeyFrames; 
         case KnownProperties.Decorator_Child:
             return KnownElements.Decorator;
         case KnownProperties.DockPanel_Children:
         case KnownProperties.DockPanel_Dock: 
         case KnownProperties.DockPanel_LastChildFill:
             return KnownElements.DockPanel; 
         case KnownProperties.DocumentViewer_Document: 
             return KnownElements.DocumentViewer;
         case KnownProperties.DocumentViewerBase_Document: 
             return KnownElements.DocumentViewerBase;
         case KnownProperties.DoubleAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.DoubleAnimationUsingKeyFrames;
         case KnownProperties.DrawingGroup_Children: 
             return KnownElements.DrawingGroup;
         case KnownProperties.EventTrigger_Actions: 
             return KnownElements.EventTrigger; 
         case KnownProperties.Expander_Content:
             return KnownElements.Expander; 
         case KnownProperties.Figure_Blocks:
             return KnownElements.Figure;
         case KnownProperties.FixedDocument_Pages:
             return KnownElements.FixedDocument; 
         case KnownProperties.FixedDocumentSequence_References:
             return KnownElements.FixedDocumentSequence; 
         case KnownProperties.FixedPage_Children: 
             return KnownElements.FixedPage;
         case KnownProperties.Floater_Blocks: 
             return KnownElements.Floater;
         case KnownProperties.FlowDocument_Blocks:
             return KnownElements.FlowDocument;
         case KnownProperties.FlowDocumentPageViewer_Document: 
             return KnownElements.FlowDocumentPageViewer;
         case KnownProperties.FlowDocumentReader_Document: 
             return KnownElements.FlowDocumentReader; 
         case KnownProperties.FlowDocumentScrollViewer_Document:
             return KnownElements.FlowDocumentScrollViewer; 
         case KnownProperties.FrameworkContentElement_Style:
             return KnownElements.FrameworkContentElement;
         case KnownProperties.FrameworkElement_FlowDirection:
         case KnownProperties.FrameworkElement_Height: 
         case KnownProperties.FrameworkElement_HorizontalAlignment:
         case KnownProperties.FrameworkElement_Margin: 
         case KnownProperties.FrameworkElement_MaxHeight: 
         case KnownProperties.FrameworkElement_MaxWidth:
         case KnownProperties.FrameworkElement_MinHeight: 
         case KnownProperties.FrameworkElement_MinWidth:
         case KnownProperties.FrameworkElement_Name:
         case KnownProperties.FrameworkElement_Style:
         case KnownProperties.FrameworkElement_VerticalAlignment: 
         case KnownProperties.FrameworkElement_Width:
             return KnownElements.FrameworkElement; 
         case KnownProperties.FrameworkTemplate_VisualTree: 
             return KnownElements.FrameworkTemplate;
         case KnownProperties.GeneralTransformGroup_Children: 
             return KnownElements.GeneralTransformGroup;
         case KnownProperties.GeometryGroup_Children:
             return KnownElements.GeometryGroup;
         case KnownProperties.GradientBrush_GradientStops: 
             return KnownElements.GradientBrush;
         case KnownProperties.Grid_Children: 
         case KnownProperties.Grid_Column: 
         case KnownProperties.Grid_ColumnSpan:
         case KnownProperties.Grid_Row: 
         case KnownProperties.Grid_RowSpan:
             return KnownElements.Grid;
         case KnownProperties.GridView_Columns:
             return KnownElements.GridView; 
         case KnownProperties.GridViewColumn_Header:
             return KnownElements.GridViewColumn; 
         case KnownProperties.GridViewColumnHeader_Content: 
             return KnownElements.GridViewColumnHeader;
         case KnownProperties.GroupBox_Content: 
             return KnownElements.GroupBox;
         case KnownProperties.GroupItem_Content:
             return KnownElements.GroupItem;
         case KnownProperties.HeaderedContentControl_Content: 
         case KnownProperties.HeaderedContentControl_HasHeader:
         case KnownProperties.HeaderedContentControl_Header: 
         case KnownProperties.HeaderedContentControl_HeaderTemplate: 
         case KnownProperties.HeaderedContentControl_HeaderTemplateSelector:
             return KnownElements.HeaderedContentControl; 
         case KnownProperties.HeaderedItemsControl_HasHeader:
         case KnownProperties.HeaderedItemsControl_Header:
         case KnownProperties.HeaderedItemsControl_HeaderTemplate:
         case KnownProperties.HeaderedItemsControl_HeaderTemplateSelector: 
         case KnownProperties.HeaderedItemsControl_Items:
             return KnownElements.HeaderedItemsControl; 
         case KnownProperties.HierarchicalDataTemplate_VisualTree: 
             return KnownElements.HierarchicalDataTemplate;
         case KnownProperties.Hyperlink_Inlines: 
         case KnownProperties.Hyperlink_NavigateUri:
             return KnownElements.Hyperlink;
         case KnownProperties.Image_Source:
         case KnownProperties.Image_Stretch: 
             return KnownElements.Image;
         case KnownProperties.InkCanvas_Children: 
             return KnownElements.InkCanvas; 
         case KnownProperties.InkPresenter_Child:
             return KnownElements.InkPresenter; 
         case KnownProperties.InlineUIContainer_Child:
             return KnownElements.InlineUIContainer;
         case KnownProperties.InputScopeName_NameValue:
             return KnownElements.InputScopeName; 
         case KnownProperties.Int16AnimationUsingKeyFrames_KeyFrames:
             return KnownElements.Int16AnimationUsingKeyFrames; 
         case KnownProperties.Int32AnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.Int32AnimationUsingKeyFrames;
         case KnownProperties.Int64AnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.Int64AnimationUsingKeyFrames;
         case KnownProperties.Italic_Inlines:
             return KnownElements.Italic;
         case KnownProperties.ItemsControl_ItemContainerStyle: 
         case KnownProperties.ItemsControl_ItemContainerStyleSelector:
         case KnownProperties.ItemsControl_ItemTemplate: 
         case KnownProperties.ItemsControl_ItemTemplateSelector: 
         case KnownProperties.ItemsControl_Items:
         case KnownProperties.ItemsControl_ItemsPanel: 
         case KnownProperties.ItemsControl_ItemsSource:
             return KnownElements.ItemsControl;
         case KnownProperties.ItemsPanelTemplate_VisualTree:
             return KnownElements.ItemsPanelTemplate; 
         case KnownProperties.Label_Content:
             return KnownElements.Label; 
         case KnownProperties.LinearGradientBrush_GradientStops: 
             return KnownElements.LinearGradientBrush;
         case KnownProperties.List_ListItems: 
             return KnownElements.List;
         case KnownProperties.ListBox_Items:
             return KnownElements.ListBox;
         case KnownProperties.ListBoxItem_Content: 
             return KnownElements.ListBoxItem;
         case KnownProperties.ListItem_Blocks: 
             return KnownElements.ListItem; 
         case KnownProperties.ListView_Items:
             return KnownElements.ListView; 
         case KnownProperties.ListViewItem_Content:
             return KnownElements.ListViewItem;
         case KnownProperties.MaterialGroup_Children:
             return KnownElements.MaterialGroup; 
         case KnownProperties.MatrixAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.MatrixAnimationUsingKeyFrames; 
         case KnownProperties.Menu_Items: 
             return KnownElements.Menu;
         case KnownProperties.MenuBase_Items: 
             return KnownElements.MenuBase;
         case KnownProperties.MenuItem_Items:
             return KnownElements.MenuItem;
         case KnownProperties.Model3DGroup_Children: 
             return KnownElements.Model3DGroup;
         case KnownProperties.ModelVisual3D_Children: 
             return KnownElements.ModelVisual3D; 
         case KnownProperties.MultiBinding_Bindings:
             return KnownElements.MultiBinding; 
         case KnownProperties.MultiDataTrigger_Setters:
             return KnownElements.MultiDataTrigger;
         case KnownProperties.MultiTrigger_Setters:
             return KnownElements.MultiTrigger; 
         case KnownProperties.ObjectAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.ObjectAnimationUsingKeyFrames; 
         case KnownProperties.Page_Content: 
             return KnownElements.Page;
         case KnownProperties.PageContent_Child: 
             return KnownElements.PageContent;
         case KnownProperties.PageFunctionBase_Content:
             return KnownElements.PageFunctionBase;
         case KnownProperties.Panel_Background: 
         case KnownProperties.Panel_Children:
             return KnownElements.Panel; 
         case KnownProperties.Paragraph_Inlines: 
             return KnownElements.Paragraph;
         case KnownProperties.ParallelTimeline_Children: 
             return KnownElements.ParallelTimeline;
         case KnownProperties.Path_Data:
             return KnownElements.Path;
         case KnownProperties.PathFigure_Segments: 
             return KnownElements.PathFigure;
         case KnownProperties.PathGeometry_Figures: 
             return KnownElements.PathGeometry; 
         case KnownProperties.Point3DAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.Point3DAnimationUsingKeyFrames; 
         case KnownProperties.PointAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.PointAnimationUsingKeyFrames;
         case KnownProperties.Popup_Child:
         case KnownProperties.Popup_IsOpen: 
         case KnownProperties.Popup_Placement:
         case KnownProperties.Popup_PopupAnimation: 
             return KnownElements.Popup; 
         case KnownProperties.PriorityBinding_Bindings:
             return KnownElements.PriorityBinding; 
         case KnownProperties.QuaternionAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.QuaternionAnimationUsingKeyFrames;
         case KnownProperties.RadialGradientBrush_GradientStops:
             return KnownElements.RadialGradientBrush; 
         case KnownProperties.RadioButton_Content:
             return KnownElements.RadioButton; 
         case KnownProperties.RectAnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.RectAnimationUsingKeyFrames;
         case KnownProperties.RepeatButton_Content: 
             return KnownElements.RepeatButton;
         case KnownProperties.RichTextBox_Document:
             return KnownElements.RichTextBox;
         case KnownProperties.Rotation3DAnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.Rotation3DAnimationUsingKeyFrames;
         case KnownProperties.RowDefinition_Height: 
         case KnownProperties.RowDefinition_MaxHeight: 
         case KnownProperties.RowDefinition_MinHeight:
             return KnownElements.RowDefinition; 
         case KnownProperties.Run_Text:
             return KnownElements.Run;
         case KnownProperties.ScrollViewer_CanContentScroll:
         case KnownProperties.ScrollViewer_Content: 
         case KnownProperties.ScrollViewer_HorizontalScrollBarVisibility:
         case KnownProperties.ScrollViewer_VerticalScrollBarVisibility: 
             return KnownElements.ScrollViewer; 
         case KnownProperties.Section_Blocks:
             return KnownElements.Section; 
         case KnownProperties.Selector_Items:
             return KnownElements.Selector;
         case KnownProperties.Shape_Fill:
         case KnownProperties.Shape_Stroke: 
         case KnownProperties.Shape_StrokeThickness:
             return KnownElements.Shape; 
         case KnownProperties.SingleAnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.SingleAnimationUsingKeyFrames;
         case KnownProperties.SizeAnimationUsingKeyFrames_KeyFrames: 
             return KnownElements.SizeAnimationUsingKeyFrames;
         case KnownProperties.Span_Inlines:
             return KnownElements.Span;
         case KnownProperties.StackPanel_Children: 
             return KnownElements.StackPanel;
         case KnownProperties.StatusBar_Items: 
             return KnownElements.StatusBar; 
         case KnownProperties.StatusBarItem_Content:
             return KnownElements.StatusBarItem; 
         case KnownProperties.Storyboard_Children:
             return KnownElements.Storyboard;
         case KnownProperties.StringAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.StringAnimationUsingKeyFrames; 
         case KnownProperties.Style_Setters:
             return KnownElements.Style; 
         case KnownProperties.TabControl_Items: 
             return KnownElements.TabControl;
         case KnownProperties.TabItem_Content: 
             return KnownElements.TabItem;
         case KnownProperties.TabPanel_Children:
             return KnownElements.TabPanel;
         case KnownProperties.Table_RowGroups: 
             return KnownElements.Table;
         case KnownProperties.TableCell_Blocks: 
             return KnownElements.TableCell; 
         case KnownProperties.TableRow_Cells:
             return KnownElements.TableRow; 
         case KnownProperties.TableRowGroup_Rows:
             return KnownElements.TableRowGroup;
         case KnownProperties.TextBlock_Background:
         case KnownProperties.TextBlock_FontFamily: 
         case KnownProperties.TextBlock_FontSize:
         case KnownProperties.TextBlock_FontStretch: 
         case KnownProperties.TextBlock_FontStyle: 
         case KnownProperties.TextBlock_FontWeight:
         case KnownProperties.TextBlock_Foreground: 
         case KnownProperties.TextBlock_Inlines:
         case KnownProperties.TextBlock_Text:
         case KnownProperties.TextBlock_TextDecorations:
         case KnownProperties.TextBlock_TextTrimming: 
         case KnownProperties.TextBlock_TextWrapping:
             return KnownElements.TextBlock; 
         case KnownProperties.TextBox_Text: 
             return KnownElements.TextBox;
         case KnownProperties.TextElement_Background: 
         case KnownProperties.TextElement_FontFamily:
         case KnownProperties.TextElement_FontSize:
         case KnownProperties.TextElement_FontStretch:
         case KnownProperties.TextElement_FontStyle: 
         case KnownProperties.TextElement_FontWeight:
         case KnownProperties.TextElement_Foreground: 
             return KnownElements.TextElement; 
         case KnownProperties.ThicknessAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.ThicknessAnimationUsingKeyFrames; 
         case KnownProperties.TimelineGroup_Children:
             return KnownElements.TimelineGroup;
         case KnownProperties.ToggleButton_Content:
             return KnownElements.ToggleButton; 
         case KnownProperties.ToolBar_Items:
             return KnownElements.ToolBar; 
         case KnownProperties.ToolBarOverflowPanel_Children: 
             return KnownElements.ToolBarOverflowPanel;
         case KnownProperties.ToolBarPanel_Children: 
             return KnownElements.ToolBarPanel;
         case KnownProperties.ToolBarTray_ToolBars:
             return KnownElements.ToolBarTray;
         case KnownProperties.ToolTip_Content: 
             return KnownElements.ToolTip;
         case KnownProperties.Track_IsDirectionReversed: 
         case KnownProperties.Track_Maximum: 
         case KnownProperties.Track_Minimum:
         case KnownProperties.Track_Orientation: 
         case KnownProperties.Track_Value:
         case KnownProperties.Track_ViewportSize:
             return KnownElements.Track;
         case KnownProperties.Transform3DGroup_Children: 
             return KnownElements.Transform3DGroup;
         case KnownProperties.TransformGroup_Children: 
             return KnownElements.TransformGroup; 
         case KnownProperties.TreeView_Items:
             return KnownElements.TreeView; 
         case KnownProperties.TreeViewItem_Items:
             return KnownElements.TreeViewItem;
         case KnownProperties.Trigger_Setters:
             return KnownElements.Trigger; 
         case KnownProperties.UIElement_ClipToBounds:
         case KnownProperties.UIElement_Focusable: 
         case KnownProperties.UIElement_IsEnabled: 
         case KnownProperties.UIElement_RenderTransform:
         case KnownProperties.UIElement_Visibility: 
             return KnownElements.UIElement;
         case KnownProperties.Underline_Inlines:
             return KnownElements.Underline;
         case KnownProperties.UniformGrid_Children: 
             return KnownElements.UniformGrid;
         case KnownProperties.UserControl_Content: 
             return KnownElements.UserControl; 
         case KnownProperties.Vector3DAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.Vector3DAnimationUsingKeyFrames; 
         case KnownProperties.VectorAnimationUsingKeyFrames_KeyFrames:
             return KnownElements.VectorAnimationUsingKeyFrames;
         case KnownProperties.Viewbox_Child:
             return KnownElements.Viewbox; 
         case KnownProperties.Viewport3D_Children:
             return KnownElements.Viewport3D; 
         case KnownProperties.Viewport3DVisual_Children: 
             return KnownElements.Viewport3DVisual;
         case KnownProperties.VirtualizingPanel_Children: 
             return KnownElements.VirtualizingPanel;
         case KnownProperties.VirtualizingStackPanel_Children:
             return KnownElements.VirtualizingStackPanel;
         case KnownProperties.Window_Content: 
             return KnownElements.Window;
         case KnownProperties.WrapPanel_Children: 
             return KnownElements.WrapPanel; 
         case KnownProperties.XmlDataProvider_XmlSerializer:
             return KnownElements.XmlDataProvider; 
     }
     return KnownElements.UnknownElement;
 }
Exemple #18
0
 internal static DependencyProperty GetKnownDependencyPropertyFromId(KnownProperties knownProperty)
 { 
     switch (knownProperty)
     { 
         case KnownProperties.AccessText_Text: 
             return System.Windows.Controls.AccessText.TextProperty;
         case KnownProperties.BeginStoryboard_Storyboard: 
             return System.Windows.Media.Animation.BeginStoryboard.StoryboardProperty;
         case KnownProperties.BitmapEffectGroup_Children:
             return System.Windows.Media.Effects.BitmapEffectGroup.ChildrenProperty;
         case KnownProperties.Border_Background: 
             return System.Windows.Controls.Border.BackgroundProperty;
         case KnownProperties.Border_BorderBrush: 
             return System.Windows.Controls.Border.BorderBrushProperty; 
         case KnownProperties.Border_BorderThickness:
             return System.Windows.Controls.Border.BorderThicknessProperty; 
         case KnownProperties.ButtonBase_Command:
             return System.Windows.Controls.Primitives.ButtonBase.CommandProperty;
         case KnownProperties.ButtonBase_CommandParameter:
             return System.Windows.Controls.Primitives.ButtonBase.CommandParameterProperty; 
         case KnownProperties.ButtonBase_CommandTarget:
             return System.Windows.Controls.Primitives.ButtonBase.CommandTargetProperty; 
         case KnownProperties.ButtonBase_IsPressed: 
             return System.Windows.Controls.Primitives.ButtonBase.IsPressedProperty;
         case KnownProperties.ColumnDefinition_MaxWidth: 
             return System.Windows.Controls.ColumnDefinition.MaxWidthProperty;
         case KnownProperties.ColumnDefinition_MinWidth:
             return System.Windows.Controls.ColumnDefinition.MinWidthProperty;
         case KnownProperties.ColumnDefinition_Width: 
             return System.Windows.Controls.ColumnDefinition.WidthProperty;
         case KnownProperties.ContentControl_Content: 
             return System.Windows.Controls.ContentControl.ContentProperty; 
         case KnownProperties.ContentControl_ContentTemplate:
             return System.Windows.Controls.ContentControl.ContentTemplateProperty; 
         case KnownProperties.ContentControl_ContentTemplateSelector:
             return System.Windows.Controls.ContentControl.ContentTemplateSelectorProperty;
         case KnownProperties.ContentControl_HasContent:
             return System.Windows.Controls.ContentControl.HasContentProperty; 
         case KnownProperties.ContentElement_Focusable:
             return System.Windows.ContentElement.FocusableProperty; 
         case KnownProperties.ContentPresenter_Content: 
             return System.Windows.Controls.ContentPresenter.ContentProperty;
         case KnownProperties.ContentPresenter_ContentSource: 
             return System.Windows.Controls.ContentPresenter.ContentSourceProperty;
         case KnownProperties.ContentPresenter_ContentTemplate:
             return System.Windows.Controls.ContentPresenter.ContentTemplateProperty;
         case KnownProperties.ContentPresenter_ContentTemplateSelector: 
             return System.Windows.Controls.ContentPresenter.ContentTemplateSelectorProperty;
         case KnownProperties.ContentPresenter_RecognizesAccessKey: 
             return System.Windows.Controls.ContentPresenter.RecognizesAccessKeyProperty; 
         case KnownProperties.Control_Background:
             return System.Windows.Controls.Control.BackgroundProperty; 
         case KnownProperties.Control_BorderBrush:
             return System.Windows.Controls.Control.BorderBrushProperty;
         case KnownProperties.Control_BorderThickness:
             return System.Windows.Controls.Control.BorderThicknessProperty; 
         case KnownProperties.Control_FontFamily:
             return System.Windows.Controls.Control.FontFamilyProperty; 
         case KnownProperties.Control_FontSize: 
             return System.Windows.Controls.Control.FontSizeProperty;
         case KnownProperties.Control_FontStretch: 
             return System.Windows.Controls.Control.FontStretchProperty;
         case KnownProperties.Control_FontStyle:
             return System.Windows.Controls.Control.FontStyleProperty;
         case KnownProperties.Control_FontWeight: 
             return System.Windows.Controls.Control.FontWeightProperty;
         case KnownProperties.Control_Foreground: 
             return System.Windows.Controls.Control.ForegroundProperty; 
         case KnownProperties.Control_HorizontalContentAlignment:
             return System.Windows.Controls.Control.HorizontalContentAlignmentProperty; 
         case KnownProperties.Control_IsTabStop:
             return System.Windows.Controls.Control.IsTabStopProperty;
         case KnownProperties.Control_Padding:
             return System.Windows.Controls.Control.PaddingProperty; 
         case KnownProperties.Control_TabIndex:
             return System.Windows.Controls.Control.TabIndexProperty; 
         case KnownProperties.Control_Template: 
             return System.Windows.Controls.Control.TemplateProperty;
         case KnownProperties.Control_VerticalContentAlignment: 
             return System.Windows.Controls.Control.VerticalContentAlignmentProperty;
         case KnownProperties.DockPanel_Dock:
             return System.Windows.Controls.DockPanel.DockProperty;
         case KnownProperties.DockPanel_LastChildFill: 
             return System.Windows.Controls.DockPanel.LastChildFillProperty;
         case KnownProperties.DocumentViewerBase_Document: 
             return System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 
         case KnownProperties.DrawingGroup_Children:
             return System.Windows.Media.DrawingGroup.ChildrenProperty; 
         case KnownProperties.FlowDocumentReader_Document:
             return System.Windows.Controls.FlowDocumentReader.DocumentProperty;
         case KnownProperties.FlowDocumentScrollViewer_Document:
             return System.Windows.Controls.FlowDocumentScrollViewer.DocumentProperty; 
         case KnownProperties.FrameworkContentElement_Style:
             return System.Windows.FrameworkContentElement.StyleProperty; 
         case KnownProperties.FrameworkElement_FlowDirection: 
             return System.Windows.FrameworkElement.FlowDirectionProperty;
         case KnownProperties.FrameworkElement_Height: 
             return System.Windows.FrameworkElement.HeightProperty;
         case KnownProperties.FrameworkElement_HorizontalAlignment:
             return System.Windows.FrameworkElement.HorizontalAlignmentProperty;
         case KnownProperties.FrameworkElement_Margin: 
             return System.Windows.FrameworkElement.MarginProperty;
         case KnownProperties.FrameworkElement_MaxHeight: 
             return System.Windows.FrameworkElement.MaxHeightProperty; 
         case KnownProperties.FrameworkElement_MaxWidth:
             return System.Windows.FrameworkElement.MaxWidthProperty; 
         case KnownProperties.FrameworkElement_MinHeight:
             return System.Windows.FrameworkElement.MinHeightProperty;
         case KnownProperties.FrameworkElement_MinWidth:
             return System.Windows.FrameworkElement.MinWidthProperty; 
         case KnownProperties.FrameworkElement_Name:
             return System.Windows.FrameworkElement.NameProperty; 
         case KnownProperties.FrameworkElement_Style: 
             return System.Windows.FrameworkElement.StyleProperty;
         case KnownProperties.FrameworkElement_VerticalAlignment: 
             return System.Windows.FrameworkElement.VerticalAlignmentProperty;
         case KnownProperties.FrameworkElement_Width:
             return System.Windows.FrameworkElement.WidthProperty;
         case KnownProperties.GeneralTransformGroup_Children: 
             return System.Windows.Media.GeneralTransformGroup.ChildrenProperty;
         case KnownProperties.GeometryGroup_Children: 
             return System.Windows.Media.GeometryGroup.ChildrenProperty; 
         case KnownProperties.GradientBrush_GradientStops:
             return System.Windows.Media.GradientBrush.GradientStopsProperty; 
         case KnownProperties.Grid_Column:
             return System.Windows.Controls.Grid.ColumnProperty;
         case KnownProperties.Grid_ColumnSpan:
             return System.Windows.Controls.Grid.ColumnSpanProperty; 
         case KnownProperties.Grid_Row:
             return System.Windows.Controls.Grid.RowProperty; 
         case KnownProperties.Grid_RowSpan: 
             return System.Windows.Controls.Grid.RowSpanProperty;
         case KnownProperties.GridViewColumn_Header: 
             return System.Windows.Controls.GridViewColumn.HeaderProperty;
         case KnownProperties.HeaderedContentControl_HasHeader:
             return System.Windows.Controls.HeaderedContentControl.HasHeaderProperty;
         case KnownProperties.HeaderedContentControl_Header: 
             return System.Windows.Controls.HeaderedContentControl.HeaderProperty;
         case KnownProperties.HeaderedContentControl_HeaderTemplate: 
             return System.Windows.Controls.HeaderedContentControl.HeaderTemplateProperty; 
         case KnownProperties.HeaderedContentControl_HeaderTemplateSelector:
             return System.Windows.Controls.HeaderedContentControl.HeaderTemplateSelectorProperty; 
         case KnownProperties.HeaderedItemsControl_HasHeader:
             return System.Windows.Controls.HeaderedItemsControl.HasHeaderProperty;
         case KnownProperties.HeaderedItemsControl_Header:
             return System.Windows.Controls.HeaderedItemsControl.HeaderProperty; 
         case KnownProperties.HeaderedItemsControl_HeaderTemplate:
             return System.Windows.Controls.HeaderedItemsControl.HeaderTemplateProperty; 
         case KnownProperties.HeaderedItemsControl_HeaderTemplateSelector: 
             return System.Windows.Controls.HeaderedItemsControl.HeaderTemplateSelectorProperty;
         case KnownProperties.Hyperlink_NavigateUri: 
             return System.Windows.Documents.Hyperlink.NavigateUriProperty;
         case KnownProperties.Image_Source:
             return System.Windows.Controls.Image.SourceProperty;
         case KnownProperties.Image_Stretch: 
             return System.Windows.Controls.Image.StretchProperty;
         case KnownProperties.ItemsControl_ItemContainerStyle: 
             return System.Windows.Controls.ItemsControl.ItemContainerStyleProperty; 
         case KnownProperties.ItemsControl_ItemContainerStyleSelector:
             return System.Windows.Controls.ItemsControl.ItemContainerStyleSelectorProperty; 
         case KnownProperties.ItemsControl_ItemTemplate:
             return System.Windows.Controls.ItemsControl.ItemTemplateProperty;
         case KnownProperties.ItemsControl_ItemTemplateSelector:
             return System.Windows.Controls.ItemsControl.ItemTemplateSelectorProperty; 
         case KnownProperties.ItemsControl_ItemsPanel:
             return System.Windows.Controls.ItemsControl.ItemsPanelProperty; 
         case KnownProperties.ItemsControl_ItemsSource: 
             return System.Windows.Controls.ItemsControl.ItemsSourceProperty;
         case KnownProperties.MaterialGroup_Children: 
             return System.Windows.Media.Media3D.MaterialGroup.ChildrenProperty;
         case KnownProperties.Model3DGroup_Children:
             return System.Windows.Media.Media3D.Model3DGroup.ChildrenProperty;
         case KnownProperties.Page_Content: 
             return System.Windows.Controls.Page.ContentProperty;
         case KnownProperties.Panel_Background: 
             return System.Windows.Controls.Panel.BackgroundProperty; 
         case KnownProperties.Path_Data:
             return System.Windows.Shapes.Path.DataProperty; 
         case KnownProperties.PathFigure_Segments:
             return System.Windows.Media.PathFigure.SegmentsProperty;
         case KnownProperties.PathGeometry_Figures:
             return System.Windows.Media.PathGeometry.FiguresProperty; 
         case KnownProperties.Popup_Child:
             return System.Windows.Controls.Primitives.Popup.ChildProperty; 
         case KnownProperties.Popup_IsOpen: 
             return System.Windows.Controls.Primitives.Popup.IsOpenProperty;
         case KnownProperties.Popup_Placement: 
             return System.Windows.Controls.Primitives.Popup.PlacementProperty;
         case KnownProperties.Popup_PopupAnimation:
             return System.Windows.Controls.Primitives.Popup.PopupAnimationProperty;
         case KnownProperties.RowDefinition_Height: 
             return System.Windows.Controls.RowDefinition.HeightProperty;
         case KnownProperties.RowDefinition_MaxHeight: 
             return System.Windows.Controls.RowDefinition.MaxHeightProperty; 
         case KnownProperties.RowDefinition_MinHeight:
             return System.Windows.Controls.RowDefinition.MinHeightProperty; 
         case KnownProperties.ScrollViewer_CanContentScroll:
             return System.Windows.Controls.ScrollViewer.CanContentScrollProperty;
         case KnownProperties.ScrollViewer_HorizontalScrollBarVisibility:
             return System.Windows.Controls.ScrollViewer.HorizontalScrollBarVisibilityProperty; 
         case KnownProperties.ScrollViewer_VerticalScrollBarVisibility:
             return System.Windows.Controls.ScrollViewer.VerticalScrollBarVisibilityProperty; 
         case KnownProperties.Shape_Fill: 
             return System.Windows.Shapes.Shape.FillProperty;
         case KnownProperties.Shape_Stroke: 
             return System.Windows.Shapes.Shape.StrokeProperty;
         case KnownProperties.Shape_StrokeThickness:
             return System.Windows.Shapes.Shape.StrokeThicknessProperty;
         case KnownProperties.TextBlock_Background: 
             return System.Windows.Controls.TextBlock.BackgroundProperty;
         case KnownProperties.TextBlock_FontFamily: 
             return System.Windows.Controls.TextBlock.FontFamilyProperty; 
         case KnownProperties.TextBlock_FontSize:
             return System.Windows.Controls.TextBlock.FontSizeProperty; 
         case KnownProperties.TextBlock_FontStretch:
             return System.Windows.Controls.TextBlock.FontStretchProperty;
         case KnownProperties.TextBlock_FontStyle:
             return System.Windows.Controls.TextBlock.FontStyleProperty; 
         case KnownProperties.TextBlock_FontWeight:
             return System.Windows.Controls.TextBlock.FontWeightProperty; 
         case KnownProperties.TextBlock_Foreground: 
             return System.Windows.Controls.TextBlock.ForegroundProperty;
         case KnownProperties.TextBlock_Text: 
             return System.Windows.Controls.TextBlock.TextProperty;
         case KnownProperties.TextBlock_TextDecorations:
             return System.Windows.Controls.TextBlock.TextDecorationsProperty;
         case KnownProperties.TextBlock_TextTrimming: 
             return System.Windows.Controls.TextBlock.TextTrimmingProperty;
         case KnownProperties.TextBlock_TextWrapping: 
             return System.Windows.Controls.TextBlock.TextWrappingProperty; 
         case KnownProperties.TextBox_Text:
             return System.Windows.Controls.TextBox.TextProperty; 
         case KnownProperties.TextElement_Background:
             return System.Windows.Documents.TextElement.BackgroundProperty;
         case KnownProperties.TextElement_FontFamily:
             return System.Windows.Documents.TextElement.FontFamilyProperty; 
         case KnownProperties.TextElement_FontSize:
             return System.Windows.Documents.TextElement.FontSizeProperty; 
         case KnownProperties.TextElement_FontStretch: 
             return System.Windows.Documents.TextElement.FontStretchProperty;
         case KnownProperties.TextElement_FontStyle: 
             return System.Windows.Documents.TextElement.FontStyleProperty;
         case KnownProperties.TextElement_FontWeight:
             return System.Windows.Documents.TextElement.FontWeightProperty;
         case KnownProperties.TextElement_Foreground: 
             return System.Windows.Documents.TextElement.ForegroundProperty;
         case KnownProperties.TimelineGroup_Children: 
             return System.Windows.Media.Animation.TimelineGroup.ChildrenProperty; 
         case KnownProperties.Track_IsDirectionReversed:
             return System.Windows.Controls.Primitives.Track.IsDirectionReversedProperty; 
         case KnownProperties.Track_Maximum:
             return System.Windows.Controls.Primitives.Track.MaximumProperty;
         case KnownProperties.Track_Minimum:
             return System.Windows.Controls.Primitives.Track.MinimumProperty; 
         case KnownProperties.Track_Orientation:
             return System.Windows.Controls.Primitives.Track.OrientationProperty; 
         case KnownProperties.Track_Value: 
             return System.Windows.Controls.Primitives.Track.ValueProperty;
         case KnownProperties.Track_ViewportSize: 
             return System.Windows.Controls.Primitives.Track.ViewportSizeProperty;
         case KnownProperties.Transform3DGroup_Children:
             return System.Windows.Media.Media3D.Transform3DGroup.ChildrenProperty;
         case KnownProperties.TransformGroup_Children: 
             return System.Windows.Media.TransformGroup.ChildrenProperty;
         case KnownProperties.UIElement_ClipToBounds: 
             return System.Windows.UIElement.ClipToBoundsProperty; 
         case KnownProperties.UIElement_Focusable:
             return System.Windows.UIElement.FocusableProperty; 
         case KnownProperties.UIElement_IsEnabled:
             return System.Windows.UIElement.IsEnabledProperty;
         case KnownProperties.UIElement_RenderTransform:
             return System.Windows.UIElement.RenderTransformProperty; 
         case KnownProperties.UIElement_Visibility:
             return System.Windows.UIElement.VisibilityProperty; 
         case KnownProperties.Viewport3D_Children: 
             return System.Windows.Controls.Viewport3D.ChildrenProperty;
     } 
     return null;
 }
Exemple #19
0
 public TYPE(KnownProperties property, List <string> value) : base(KnownParameters.TYPE, property, value)
 {
 }
Exemple #20
0
 public CALSCALE(KnownProperties property, string value) : base(KnownParameters.CALSCALE, property, value)
 {
 }
Exemple #21
0
 public LABEL(KnownProperties property, string value) : base(KnownParameters.LABEL, property, value)
 {
 }
Exemple #22
0
 public VALUE(KnownProperties property, List <string> value) : base(KnownParameters.VALUE, property, value)
 {
 }
Exemple #23
0
 /// <summary>
 /// The play method
 /// </summary>
 /// <param name="o">
 /// The object
 /// </param>
 /// <param name="property">
 /// The property of object
 /// </param>
 /// <param name="endCallback">
 /// The end callback
 /// </param>
 /// <typeparam name="T">
 /// Any object
 /// </typeparam>
 public void Play <T>(T o, KnownProperties property, SafeInvoker endCallback = null)
 {
     this.Play(o, property.ToString(), endCallback);
 }
Exemple #24
0
 /// <summary>
 ///     Starts the playing of the animation
 /// </summary>
 /// <param name="targetObject">
 ///     The target object to change the property
 /// </param>
 /// <param name="property">
 ///     The property to change
 /// </param>
 /// <param name="endCallback">
 ///     The callback to get invoked at the end of the animation
 /// </param>
 public void Play(object targetObject, KnownProperties property, SafeInvoker endCallback)
 {
     Play(targetObject, property.ToString(), endCallback);
 }
Exemple #25
0
 public ALTID(KnownProperties property, string value) : base(KnownParameters.ALTID, property, value)
 {
 }
Exemple #26
0
 public LANGUAGE(KnownProperties property, CultureInfo value) : base(KnownParameters.LANGUAGE, property, value)
 {
 }
Exemple #27
0
 public MEDIATYPE(KnownProperties property, string value) : base(KnownParameters.MEDIATYPE, property, value)
 {
 }