Beispiel #1
0
        private static void WritePixelEffect(AssetStreamWriter writer, UIPixelEffect o, List <object> objectDictionary)
        {
            if (WriteElement(writer, o, objectDictionary) == false)
            {
                return;
            }

            Type t = o.GetType();

            if (t == typeof(UIBlendingEffect))
            {
                Write(writer, (UIBlendingEffect)o, objectDictionary);
            }
            else
            {
                throw new NotSupportedException(t.ToString());
            }
        }
Beispiel #2
0
 private static void Write(AssetStreamWriter writer, UIPixelEffect o, List <object> objectDictionary)
 {
     Write(writer, (UIElement)o, objectDictionary);
 }