Пример #1
0
        internal CssValuePairList SetPairListValue()
        {
            var value = new CssValuePairList();

            mUnit  = CssUnit.PairList;
            mValue = value;
            return(value);
        }
Пример #2
0
 public BackgroundParseState(CssValue mColor, CssValueList mImage, CssValuePairList mRepeat, CssValueList mAttachment, CssValueList mClip, CssValueList mOrigin, CssValueList mPosition, CssValuePairList mSize)
 {
     this.mColor      = mColor;
     this.mImage      = mImage;
     this.mRepeat     = mRepeat;
     this.mAttachment = mAttachment;
     this.mClip       = mClip;
     this.mOrigin     = mOrigin;
     this.mPosition   = mPosition;
     this.mSize       = mSize;
 }
Пример #3
0
 public BackgroundParseState(CssValue mColor, CssValueList mImage, CssValuePairList mRepeat, CssValueList mAttachment, CssValueList mClip, CssValueList mOrigin, CssValueList mPosition, CssValuePairList mSize)
 {
     this.mColor = mColor;
     this.mImage = mImage;
     this.mRepeat = mRepeat;
     this.mAttachment = mAttachment;
     this.mClip = mClip;
     this.mOrigin = mOrigin;
     this.mPosition = mPosition;
     this.mSize = mSize;
 }
Пример #4
0
        // Public interface

        internal static IEnumerable <CssValuePair> TraverseList(CssValuePairList @this)
        {
            return(@this.TraverseList(i => i.mNext).Select(i => new CssValuePair {
                mXValue = i.mXValue, mYValue = i.mYValue
            }));
        }
Пример #5
0
 // Public interface
 internal static IEnumerable<CssValuePair> TraverseList(CssValuePairList @this)
 {
     return @this.TraverseList(i => i.mNext).Select(i => new CssValuePair { mXValue = i.mXValue, mYValue = i.mYValue });
 }