Renamed SecurityCertificate namespace to Security.Certificate

This commit is contained in:
Michael Becker 2015-01-22 12:06:09 -05:00
parent 8512305fef
commit 651ed11d9e
3 changed files with 9 additions and 9 deletions

View File

@ -7,9 +7,9 @@ using UniversalEditor.ObjectModels.AbstractSyntax;
using UniversalEditor.DataFormats.AbstractSyntax.DER;
using UniversalEditor.IO;
using UniversalEditor.ObjectModels.SecurityCertificate;
using UniversalEditor.ObjectModels.Security.Certificate;
namespace UniversalEditor.DataFormats.SecurityCertificate.DER
namespace UniversalEditor.DataFormats.Security.Certificate.DER
{
public class DERCertificateDataFormat : DERDataFormat
{
@ -19,7 +19,7 @@ namespace UniversalEditor.DataFormats.SecurityCertificate.DER
if (_dfr == null)
{
_dfr = new DataFormatReference(GetType());
_dfr.Capabilities.Add(typeof(SecurityCertificateObjectModel), DataFormatCapabilities.All);
_dfr.Capabilities.Add(typeof(CertificateObjectModel), DataFormatCapabilities.All);
}
return _dfr;
}
@ -33,13 +33,13 @@ namespace UniversalEditor.DataFormats.SecurityCertificate.DER
{
base.AfterLoadInternal(objectModels);
AbstractSyntaxObjectModel asn = (objectModels.Pop() as AbstractSyntaxObjectModel);
SecurityCertificateObjectModel cer = (objectModels.Pop() as SecurityCertificateObjectModel);
CertificateObjectModel cer = (objectModels.Pop() as CertificateObjectModel);
}
protected override void BeforeSaveInternal(Stack<ObjectModel> objectModels)
{
base.BeforeSaveInternal(objectModels);
SecurityCertificateObjectModel cer = (objectModels.Pop() as SecurityCertificateObjectModel);
CertificateObjectModel cer = (objectModels.Pop() as CertificateObjectModel);
AbstractSyntaxObjectModel asn = new AbstractSyntaxObjectModel();
objectModels.Push(asn);

View File

@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UniversalEditor.ObjectModels.SecurityCertificate
namespace UniversalEditor.ObjectModels.Security.Certificate
{
public class SecurityCertificateObjectModel : ObjectModel
public class CertificateObjectModel : ObjectModel
{
private static ObjectModelReference _omr = null;
protected override ObjectModelReference MakeReferenceInternal()

View File

@ -61,7 +61,7 @@
<Compile Include="DataFormats\PropertyList\WindowsConfigurationDataFormat.cs" />
<Compile Include="DataFormats\PropertyList\XML\XMLPropertyListDataFormat.cs" />
<Compile Include="DataFormats\RichTextMarkup\RTML\RTMLSettings.cs" />
<Compile Include="DataFormats\SecurityCertificate\DER\DERCertificateDataFormat.cs" />
<Compile Include="DataFormats\Security\Certificate\DER\DERCertificateDataFormat.cs" />
<Compile Include="DataFormats\Shortcut\FreeDesktop\DesktopShortcutAction.cs" />
<Compile Include="DataFormats\Shortcut\FreeDesktop\DesktopShortcutDataFormat.cs" />
<Compile Include="DataFormats\Shortcut\FreeDesktop\DesktopShortcutStartupNotifyBehavior.cs" />
@ -108,7 +108,7 @@
<Compile Include="ObjectModels\RichTextMarkup\RichTextMarkupItemLiteral.cs" />
<Compile Include="ObjectModels\RichTextMarkup\RichTextMarkupObjectModel.cs" />
<Compile Include="ObjectModels\RichTextMarkup\RichTextMarkupItemTag.cs" />
<Compile Include="ObjectModels\SecurityCertificate\SecurityCertificateObjectModel.cs" />
<Compile Include="ObjectModels\Security\Certificate\CertificateObjectModel.cs" />
<Compile Include="ObjectModels\Shortcut\ShortcutObjectModel.cs" />
<Compile Include="ObjectModels\Solution\SolutionObjectModel.cs" />
<Compile Include="ObjectModels\Text\Formatted\FormattedTextFont.cs" />