Ejemplo n.º 1
0
        public bool TryGet(string name, out IXBody ent)
        {
            ent = GetBodies().FirstOrDefault(
                b => string.Equals(b.Name, name, StringComparison.CurrentCultureIgnoreCase));

            return(ent != null);
        }
Ejemplo n.º 2
0
 IXBody[] IXBody.Common(IXBody other) => Common((ISwBody)other);
Ejemplo n.º 3
0
 IXBody[] IXBody.Substract(IXBody other) => Substract((ISwBody)other);
Ejemplo n.º 4
0
 IXBody IXBody.Add(IXBody other) => Add((ISwBody)other);
Ejemplo n.º 5
0
        public void SerializeBody(IXBody body, Stream stream)
        {
            var comStr = new StreamWrapper(stream);

            ((SwBody)body).Body.Save(comStr);
        }