本文整理汇总了C#中ICopyManager类的典型用法代码示例。如果您正苦于以下问题:C# ICopyManager类的具体用法?C# ICopyManager怎么用?C# ICopyManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ICopyManager类属于命名空间,在下文中一共展示了ICopyManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
PixelateEffect el = (PixelateEffect) source;
HorizonzalPixelCount = el.HorizonzalPixelCount;
VerticalPixelCount = el.VerticalPixelCount;
}
示例2: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
CommandMarkupExtension cme = (CommandMarkupExtension) source;
foreach (object o in cme._parameters)
_parameters.Add(copyManager.GetCopy(o));
}
示例3: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
SetterBase sb = (SetterBase) source;
TargetName = sb.TargetName;
Property = sb.Property;
}
示例4: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
SoundPlayerAction s = (SoundPlayerAction)source;
Source = copyManager.GetCopy(s.Source);
DisableOnAudioOutput = s.DisableOnAudioOutput;
}
示例5: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
ImagePlayerImageSource ppis = (ImagePlayerImageSource) source;
Stream = ppis.Stream;
FreeData();
}
示例6: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
Static2dMatrix m = (Static2dMatrix) source;
_elements = (float[]) m._elements.Clone();
CreateMatrix();
}
示例7: DeepCopy
public virtual void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
GridLength gl = (GridLength) source;
_unitType = gl._unitType;
_value = gl._value;
_finalValue = gl._finalValue;
}
示例8: DeepCopy
public void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
ListViewItemGenerator icg = (ListViewItemGenerator) source;
_itemTemplate = copyManager.GetCopy(icg._itemTemplate);
_itemContainerStyle = copyManager.GetCopy(icg._itemContainerStyle);
_parent = copyManager.GetCopy(icg._parent);
if (icg._items == null)
_items = null;
else
{
_items = new List<object>(icg._items.Count);
foreach (object item in icg._items)
_items.Add(copyManager.GetCopy(item));
}
_populatedStartIndex = icg._populatedStartIndex;
_populatedEndIndex = icg._populatedEndIndex;
if (icg._materializedItems == null)
_materializedItems = null;
else
{
_materializedItems = new List<FrameworkElement>(icg._materializedItems.Count);
foreach (FrameworkElement item in icg._materializedItems)
_materializedItems.Add(copyManager.GetCopy(item));
}
}
示例9: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
ColorAnimation a = (ColorAnimation) source;
From = a.From;
To = a.To;
By = a.By;
}
示例10: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
InvokeCommand ic = (InvokeCommand) source;
CommandStencil = copyManager.GetCopy(ic.CommandStencil);
foreach (object o in ic._commandParameters)
_commandParameters.Add(copyManager.GetCopy(o));
}
示例11: DeepCopy
public void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
Thickness b = (Thickness) source;
_left = b._left;
_top = b._top;
_right = b._right;
_bottom = b._bottom;
}
示例12: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
CheckBox cb = (CheckBox) source;
IsChecked = cb.IsChecked;
Checked = copyManager.GetCopy(cb.Checked);
Unchecked = copyManager.GetCopy(cb.Unchecked);
}
示例13: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
base.DeepCopy(source, copyManager);
GridListView c = (GridListView)source;
BeginNavigation = c.BeginNavigation;
AnimationStarted = c.AnimationStarted;
AnimationCompleted = c.AnimationCompleted;
}
示例14: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
Detach();
base.DeepCopy(source, copyManager);
MatrixTransform t = (MatrixTransform) source;
Matrix = t.Matrix;
Attach();
}
示例15: DeepCopy
public override void DeepCopy(IDeepCopyable source, ICopyManager copyManager)
{
Detach();
base.DeepCopy(source, copyManager);
ListViewItem lvi = (ListViewItem) source;
Selected = lvi.Selected;
Attach();
}